<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user">
    <title>gmane.comp.web.freemarker.user</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5423"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5422"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5421"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5420"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5419"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5418"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5417"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5416"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5415"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5414"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5413"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5412"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5411"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5410"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5409"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5408"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5407"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5406"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5405"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5404"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5423">
    <title>Re: Deadlock issue</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5423</link>
    <description>&lt;pre&gt;I didn't review these yet. Assuming these don't break backward
compatibility or something, it's improbable that these will be left
out from the next release, so don't afraid about that. Usually at
latest when I decide to push a release out, I used to go through these
pending things. I don't know when the next release will be, though.


Friday, May 18, 2012, 10:01:09 AM, Jacopo Cappellato wrote:


&lt;/pre&gt;</description>
    <dc:creator>Daniel Dekany</dc:creator>
    <dc:date>2012-05-19T08:59:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5422">
    <title>Re: Deadlock issue</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5422</link>
    <description>&lt;pre&gt;I just noticed the work in:

https://sourceforge.net/tracker/?func=detail&amp;amp;aid=3514821&amp;amp;group_id=794&amp;amp;atid=300794

This could be a (better) version that overlaps with one of the two patches I have attached.

Jacopo


On May 18, 2012, at 9:49 AM, Jacopo Cappellato wrote:



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Jacopo Cappellato</dc:creator>
    <dc:date>2012-05-18T08:01:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5421">
    <title>Re: Deadlock issue</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5421</link>
    <description>&lt;pre&gt;Hi Daniel,

did you get a chance to review the patch files I have attached to:

https://sourceforge.net/tracker/?func=detail&amp;amp;aid=3519805&amp;amp;group_id=794&amp;amp;atid=100794

?

Let me know if you have any feedback for enhancements because I am interested to see them committed and so I am happy to improve them if required.

Kind regards,

Jacopo

On Apr 22, 2012, at 10:29 AM, Daniel Dekany wrote:



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Jacopo Cappellato</dc:creator>
    <dc:date>2012-05-18T07:49:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5420">
    <title>Re: Suggestion about the best BeansWrapper</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5420</link>
    <description>&lt;pre&gt;
[snip]

Yeah, this is exactly the custom Map class issue I have mentioned
regarding setSimpleMapWrapper(false).

(Clearly, a new interface called TemplateMapModel should be added to
FreeMarker that both supports non-string keys and separate method and
variable namespaces, then TemplateHashModel should be deprecated.)


As far as you are using myMap.get(key) instead of myMap[key], or
myMap[key] while the key doesn't accidentally clash with a method
name...


Since BeansWrapper.getDefaultInstance() returns an instance that is
shared in the scope of the class-loader that defined the FreeMarker
classes, and since possibly multiple independently developed
components in your system use FreeMarker and thus getDefaultInstance
(and you may don't even know about it), and since the returned
BeanWrapper can be configured (not read-only), you never know how the
returned BeanWrapper is configured. So you add a 3rd party component,
and if you are unlucky, suddenly your other component is broken.

As of creating new BeansW&lt;/pre&gt;</description>
    <dc:creator>Daniel Dekany</dc:creator>
    <dc:date>2012-05-15T06:44:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5419">
    <title>Suggestion about the best BeansWrapper</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5419</link>
    <description>&lt;pre&gt;Hi all,

recently Daniel Dekany helped me in this list to fix a deadlock condition happening under special conditions when OFBiz (http://ofbiz.apache.org) screens were rendering Freemarker templates; during that interesting thread Daniel also mentioned that the way about the way we use BeansWrapper in OFBiz; here is the relevant part of the conversation:

=====================================================
QUESTION (me): Currently in OFBiz we are using the default object wrapper:

BeansWrapper defaultOfbizWrapper = BeansWrapper.getDefaultInstance();

do you think we should use a different one?

ANSWER (Daniel): I'm not sure. There are two problems with the current one:

- If you look at what map keys FreeMarker sees (`&amp;lt;#list k as
 someMap?keys&amp;gt;${k} &amp;lt;/#list&amp;gt;`), it mixes the actual Map keys with the
 methods of the Map class. This I already find annoying enough to
 stay away. But it's also dangerous, because if you are unlucky and
 have key like "get", then someMap.get and someMap[myDynamicKey]
 where myDyna&lt;/pre&gt;</description>
    <dc:creator>Jacopo Cappellato</dc:creator>
    <dc:date>2012-05-14T16:19:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5418">
    <title>Re: how to pass value from code to page template</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5418</link>
    <description>&lt;pre&gt;

Also due to the know precedence bug you have to write this as:

  &amp;lt;#if (title!'') != ''&amp;gt;

&lt;/pre&gt;</description>
    <dc:creator>Daniel Dekany</dc:creator>
    <dc:date>2012-05-13T08:31:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5417">
    <title>Re: how to pass value from code to page template</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5417</link>
    <description>&lt;pre&gt;

Ops... You wanted the inverse of the above, which is:

   &amp;lt;#if title!'' != ''&amp;gt;

&lt;/pre&gt;</description>
    <dc:creator>Daniel Dekany</dc:creator>
    <dc:date>2012-05-11T21:29:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5416">
    <title>Re: how to pass value from code to page template</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5416</link>
    <description>&lt;pre&gt;

  &amp;lt;#if title!'' == ''&amp;gt;


Of course yes. Whatever value that FreeMarker can handle in any way
can be used as a parameter value too.


&lt;/pre&gt;</description>
    <dc:creator>Daniel Dekany</dc:creator>
    <dc:date>2012-05-11T17:54:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5415">
    <title>Re: how to pass value from code to page template</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5415</link>
    <description>&lt;pre&gt;
Everything you set up in your ModelAndView will be globally available
in your freemarker template, and in every other template it includes.
You don't have to pass them to macros as parameters.


That's easy:  &amp;lt;#if (title??) || (title=="") &amp;gt;
This will first check for null, then for an empty string.


The short answer is yes. For the longer explanation, i'd like to
direct your attention to this page:
http://freemarker.sourceforge.net/docs/pgui_datamodel_objectWrapper.html
You can add a simple HashMap to your ModelAndView:
HashMap&amp;lt;String,String&amp;gt; asdf=new HashMap&amp;lt;String,String&amp;gt;();
asdf.put( "name","Joe");
asdf.put( "age","Twenty");
mav.addObject( "user",asdf);
After this, in your template ${user} will be an object, you can access
it's properties like this:  ${user.name}, ${user.age}





&lt;/pre&gt;</description>
    <dc:creator>Takács János</dc:creator>
    <dc:date>2012-05-11T07:29:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5414">
    <title>Re: how to pass value from code to page template</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5414</link>
    <description>&lt;pre&gt;Also, how do I check for not null and not empty?

&amp;lt;#if title??&amp;gt;
&amp;lt;/#if&amp;gt;

that checks for null only, what if I want to know if it is an empty string?
ie.. ""


Is it possible to have an object as a parameter in a macro?  like a
something like user?

&amp;lt;&amp;lt; at &amp;gt;macro page  user&amp;gt;

where user has:

user.name
user.age

?



On Thu, May 10, 2012 at 11:54 PM, S Ahmed &amp;lt;sahmed1020&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
FreeMarker-user mailing list
FreeMarker-user&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freemarker-user
&lt;/pre&gt;</description>
    <dc:creator>S Ahmed</dc:creator>
    <dc:date>2012-05-11T03:56:58</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5413">
    <title>Re: how to pass value from code to page template</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5413</link>
    <description>&lt;pre&gt;But do I have to pass in the variable somehow?

&amp;lt;&amp;lt; at &amp;gt;p.master title=${title}&amp;gt;

Or does the macro just know that that variable exists?

On Thu, May 10, 2012 at 2:32 AM, Takács János &amp;lt;jtakacs&amp;lt; at &amp;gt;sch.bme.hu&amp;gt; wrote:

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
FreeMarker-user mailing list
FreeMarker-user&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freemarker-user
&lt;/pre&gt;</description>
    <dc:creator>S Ahmed</dc:creator>
    <dc:date>2012-05-11T03:54:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5412">
    <title>Re: how to pass value from code to page template</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5412</link>
    <description>&lt;pre&gt;your controller should look something like this:

&amp;lt; at &amp;gt;Controller
&amp;lt; at &amp;gt;Scope("request")
public class IndexController {
        &amp;lt; at &amp;gt;RequestMapping(value="/index",method=RequestMethod.GET)
        public ModelAndView html(){
                ModelAndView mav = new ModelAndView();
                mav.setViewName( "index.ftl");
                // this is how you pass a value from java to freemarker:
                mav.addObject( "title","Index Page");
                return mav;
        }
}

In your template, ${title} will have the value "Index Page", you can
use it included templates as well as in index.ftl.

page.ftl:

&amp;lt;#macro page&amp;gt;
&amp;lt;#if ! title??&amp;gt;
        &amp;lt;#assign title="Default Title"/&amp;gt;
&amp;lt;/#if&amp;gt;
 &amp;lt;html&amp;gt;
   &amp;lt;title&amp;gt;${title}&amp;lt;/title&amp;gt;
 &amp;lt;/html&amp;gt;
 &amp;lt;body&amp;gt;
 ..
 &amp;lt;#nested&amp;gt;
 &amp;lt;/body&amp;gt;
 &amp;lt;/#macro&amp;gt;


On Thu, May 10, 2012 at 6:20 AM, S Ahmed &amp;lt;sahmed1020&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:



&lt;/pre&gt;</description>
    <dc:creator>Takács János</dc:creator>
    <dc:date>2012-05-10T06:32:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5411">
    <title>how to pass value from code to page template</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5411</link>
    <description>&lt;pre&gt;I have a page template that I use for all my pages like:

&amp;lt;#macro page title="soem title"&amp;gt;
&amp;lt;html&amp;gt;
  &amp;lt;title&amp;gt;${title}&amp;lt;/title&amp;gt;
&amp;lt;/html&amp;gt;
&amp;lt;body&amp;gt;
..
&amp;lt;#nested&amp;gt;

&amp;lt;/body&amp;gt;

&amp;lt;/#macro&amp;gt;

Then in my page I am doing:

&amp;lt;#import "/page.ftl" as p&amp;gt;

&amp;lt;&amp;lt; at &amp;gt;p.page title="some title"&amp;gt;

...


What if I wanted to get the title from my java code, and pass it down, is
that possible?

I'm using spring, and my view gets the ModelAndView values, can I set it
from the server side and pass it as a parameter for title?
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
FreeMarker-user mailing list
FreeMarker-user&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge&lt;/pre&gt;</description>
    <dc:creator>S Ahmed</dc:creator>
    <dc:date>2012-05-10T04:20:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5410">
    <title>Re: confused about html escaping</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5410</link>
    <description>&lt;pre&gt;

The usual way is to do it in the template with #escape.


&lt;/pre&gt;</description>
    <dc:creator>Daniel Dekany</dc:creator>
    <dc:date>2012-04-25T07:54:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5409">
    <title>Scheduled downtime of freemarker.org</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5409</link>
    <description>&lt;pre&gt;The server which hosts freemarker.org will be down for several hours due 
to maintenance work at the data center, approximately from

   Wed, 25 Apr 2012 20:15:00 GMT

to

   Thu, 26 Apr 2012 03:00:00 GMT


Hopefully the server will be back online a little bit sooner.



Stephan.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Stephan Müller</dc:creator>
    <dc:date>2012-04-25T07:03:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5408">
    <title>Re: confused about html escaping</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5408</link>
    <description>&lt;pre&gt;I swear it wasn't there before, but now I see it in the raw HTML:

".... &amp;lt; there is here now&amp;gt; "

so I have to escape the &amp;lt; and &amp;gt; characters (and whatever else may need
escaping).

wondering if it would be faster for me to do this manually on the server
side....

On Tue, Apr 24, 2012 at 9:31 AM, Daniel Dekany &amp;lt;ddekany&amp;lt; at &amp;gt;freemail.hu&amp;gt; wrote:

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
FreeMarker-user mailing list
FreeMarker-user&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freemarker-user
&lt;/pre&gt;</description>
    <dc:creator>S Ahmed</dc:creator>
    <dc:date>2012-04-24T17:49:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5407">
    <title>Re: confused about html escaping</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5407</link>
    <description>&lt;pre&gt;

FreeMarker doesn't remove bad characters. Either it leaves them as is,
or it escapes them as &amp;amp;lt; and such (unless you are using something
like &amp;lt;#escape x as ''&amp;gt;, but why would you). So look into to this
closer. Are you 100% sure the part with the bad characters aren't
present in the output if you look at the output as raw text (but not
with something overly smart like FireBug, that parses the HTML and
then shows a new fake HTML source), not rendered in the browser?

Regarding &amp;lt;#escape ...&amp;gt;...&amp;lt;#nested&amp;gt;...&amp;lt;/#escape&amp;gt;. That #escape call
doesn't affect the template part that you invoke with #nested. That's
because, by design, #escape has only effect on the interpolations that
are inside in it in the source code. It has no runtime effect. (This
is explained here: http://freemarker.org/docs/ref_directive_escape.html)

&lt;/pre&gt;</description>
    <dc:creator>Daniel Dekany</dc:creator>
    <dc:date>2012-04-24T13:31:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5406">
    <title>Re: confused about html escaping</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5406</link>
    <description>&lt;pre&gt;it isn't failing, it is just for some reason eating up any text that has
'bad characters'.

For example, if line property has the text:

"this is a sentence &amp;lt; this part does't show up&amp;gt;"

My webpage will just show the text "this is a sentence "

My on the server side, in my breakpoint, I can see that the entire sentence
is there.

On Mon, Apr 23, 2012 at 2:28 PM, Denis Bredelet &amp;lt;bredelet&amp;lt; at &amp;gt;mac.com&amp;gt; wrote:

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
FreeMarker-user mailing list
FreeMarker-user&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freemarker-user
&lt;/pre&gt;</description>
    <dc:creator>S Ahmed</dc:creator>
    <dc:date>2012-04-23T19:32:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5405">
    <title>Re: confused about html escaping</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5405</link>
    <description>&lt;pre&gt;

Do you really have a collection "someCollection", for which each element has a "line" property, in your datamodel?

FreeMarker does not normally fail silently so any error message would help here. 

&lt;/pre&gt;</description>
    <dc:creator>Denis Bredelet</dc:creator>
    <dc:date>2012-04-23T18:28:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5404">
    <title>confused about html escaping</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5404</link>
    <description>&lt;pre&gt;My page is wrapped in a module that does has html escaping:

&amp;lt;#escape x as x?html&amp;gt;
..

&amp;lt;#nested&amp;gt;
..

&amp;lt;/#escape&amp;gt;

Then my nested section is outputing the values of a collection like this:

&amp;lt;pre&amp;gt;
                    &amp;lt;#list someCollection as doc&amp;gt;
                        &amp;lt;div class="line"&amp;gt;${doc.line}&amp;lt;/div&amp;gt;
                    &amp;lt;/#list&amp;gt;
&amp;lt;/pre&amp;gt;

Now the value of line is like "&amp;lt; some text here&amp;gt;"

But on my page, it is showing up as blank.  Looking at the actual rendered
html it shows blank also.  When I set a breakpoint in my code, I can see
that the collection has the value "&amp;lt; some text here &amp;gt;" for the item in the
collection 'someCollection'.

I tried removing the &amp;lt;#escape x as x?html&amp;gt; also and nothing changed, still
don't see the row.

I just want to safely display this information like this in the html:  &amp;amp;lt;
some text here &amp;amp;gt;
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your App&lt;/pre&gt;</description>
    <dc:creator>S Ahmed</dc:creator>
    <dc:date>2012-04-23T14:14:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.freemarker.user/5403">
    <title>Re: loop a treemap</title>
    <link>http://permalink.gmane.org/gmane.comp.web.freemarker.user/5403</link>
    <description>&lt;pre&gt;

Yes, like:

  &amp;lt;#list map?keys as k&amp;gt;
    ${map[k]}
  &amp;lt;/#list&amp;gt;

&lt;/pre&gt;</description>
    <dc:creator>Daniel Dekany</dc:creator>
    <dc:date>2012-04-23T06:34:43</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.web.freemarker.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.web.freemarker.user</link>
  </textinput>
</rdf:RDF>

