You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ole Hildebrandt <OH...@BWSolution.de> on 2005/03/07 17:42:42 UTC

Convert nl to

Hi,

I know this is a stupid question, but I couldn't find any solution. Is there
any documentation available on how to specify a format-String in the
bean:write tag so that native linefeeds are converted to <br>-Tags?

Kind regards

Ole


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Convert nl to

Posted by Sebastian Hennebrueder <us...@laliluna.de>.
You could write a special getter in your bean providing this feature.
Example
if you have
getTextField
then add
getTextFieldBR

Regards

Sebastian Hennebrueder

----

http://www.laliluna.de

Tutorials for JSP, JavaServer Faces, Struts, Hibernate and EJB

Ole Hildebrandt wrote:
> Hi,
> 
> I know this is a stupid question, but I couldn't find any solution. Is there
> any documentation available on how to specify a format-String in the
> bean:write tag so that native linefeeds are converted to <br>-Tags?
> 
> Kind regards
> 
> Ole
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org