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=18599>. 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=18599 HTML Textarea tag renders without leading return (a '\n') Summary: HTML Textarea tag renders without leading return (a '\n') Product: Struts Version: 1.1 RC1 Platform: All OS/Version: All Status: NEW Severity: Major Priority: Other Component: Unknown AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The rendered textarea resulting from a html:textarea does not contain a leading '\n' or return character. When the browser is sending the content of the rendered textarea, it removes a leading '\n' character. <!-- fooBarProperty contains '\n Foo, Bar' --> <html:textarea property="fooBarProperty"/> results in: <textarea> Foo, Bar<textarea> This results in ' Foo, Bar' being send as content by the browser, but it should be sending '\n Foo, Bar'. This problem can be resolved by rendering the <textarea> with a '\n' after the start-tag. The rendered textarea should be: <textarea> Foo, Bar</textarea> This result in '\n Foo, Bar' being send as content of the textarea, which is correct. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]