cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph Gaffga (triplemind.com)" <cgaf...@triplemind.com>
Subject Re: [Jexl] linebreaks in jexl expressions
Date Thu, 05 Jul 2007 18:28:34 GMT
hi,

> Did you try all the naive workarounds?

yes, we tried most of those, and now tested the rest. For all of them we
get NullPointerException.

But I think it's a Jexl issue.

kind regards,
Christoph


Tobia wrote:
> Christoph Gaffga (triplemind.com) wrote:
>> But the encoding of the linebreak in JX Generator expressions seems to
>> be a problem:
>>
>> <p>${value.indexOf('\n')}</p>
>>
>> <p>${value.indexOf('&#10;')}</p>
> 
> Did you try all the naive workarounds?
> 
> ${value.indexOf('\n')}
> ${value.indexOf('\\n')}
> ${value.indexOf('\\\n')}
> ${value.indexOf('\\\\n')}
> 
> ${value.indexOf('&#10;')}
> ${value.indexOf('&amp;#10;')}
> ${value.indexOf('&amp;amp;#10;')}
> 
> ${value.indexOf('\&#10;')}
> ${value.indexOf('\\&#10;')}
> ${value.indexOf('\&amp;#10;')}
> ...
> 
> Tobia

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message