Re: Error message
Shervin Asgari <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
On 09/06/2011 11:38 AM, Shervin Asgari wrote:
>
> On 09/05/2011 05:15 PM, Daniel Dekany wrote:
> Well everything was on one line, I auto formated it so it was more
> readable.
> That is strange. I don't have a variable called any.
> I will try only the ${motorferdsel.applicant.epost} part and see what
> happens.
> The error message was just a snippet. There are tons more with the same
> stuff. Some keys work, some don't. Which is pretty strange.
>
Alright, I got same behavior with only that line, but I found out
something useful. This behavior happens only when the value is null.
my motoferdsel.getApplicant().getEpost() returns null, thus this error:
${motorferdsel.applicant.epost} escaped
${motorferdsel.applicant.epost?xml?replace("
","<text:line-break />")} [on line 4, column 3438 in content.xml]
However, when I put something other than null in this object, I don't
get any errors.
Is this a bug/feature in Freemarker? Or is it something JODReports /
OpenOffice.org doing?
Shervin
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev