html - How to add line feed in <s:textarea> -
hi using struts 2 ui. limit number of characters in row 16 , have restrict maxlength 32. tried row , column attirbute. not working.also have restrict resizing of textarea. possible solutions?
perhaps had typo? attributes "rows" , "cols", not "row" , "column".
the following should work:
<s:textarea key="yourdatafield" cols="32" rows="16" resizable="false"/>
Comments
Post a Comment