DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16856>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16856

bean:write don't escape new line characters





------- Additional Comments From [EMAIL PROTECTED]  2003-02-13 20:50 -------
It is being displayed exactly as it should, complete with new lines if 
necessary. The fact that new lines are not showing up as line breaks on an HTML 
page is an artifact of HTML, not the <bean:write> tag.

It is not the business of the <bean:write> tag to attempt to guess how you are 
going to use the string. If your string contained new lines and you were going 
to use it in a <pre> or <blockquote> element, would you want <br/> to show up 
instead? How about if the string was to be displayed as the content of a 
<textarea>?

If you want <br/> instead of new lines, then you do not want the "real value", 
and you need to preprocess the value yourself.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to