Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Incomplete
-
1.1 RC1
-
None
-
None
-
Operating System: All
Platform: All
-
18599
Description
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.