You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Michel Erard <mi...@corix.ch> on 2008/07/23 07:59:40 UTC

New line in String passed to the form

Hello, 

I pass a String as parameter to my form. The string contains some "java
new lines". For example "foo \n bar".

Now I'd like that the new lines are replaced by <br/> tags in the
generated html code.

I'd tried with ${text} and <jx:out value="${text}" />

How can I do this?

Thanks, 

Mike

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