hi, I tried using the apache-cocoon JX generator (it uses jexl for it's expressions within the template) to convert linebreak from strings to <br> elements.
I ran into some problem with searches for linebreaks, like: <p>${value.indexOf('\n')}</p> or <p>${value.indexOf('
')}</p> The first throws NullPointerException in java reflection classes, the second throws a Jexl Lexical Exception in the parser. Was anybody successful to get the index of a linebreak within a string? Any ideas? regards, Christoph [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]