I set up this html code in jsf and it doesnt limit the length of characters, it still go beyond 576 characters how do I set it up? I need to set up the rows to 4 but opted to do style to be consistent on all browsers, is this correct? Here is the code.
<td colspan="7">
<h:outputText id="explanation1"
value="#{handler.document.header.docDesc}"
rendered="#{documentHandler.mode != 2}"/>
<h:inputTextarea id="explanation2"
value="#{documentHandler.document.header.docDesc}"
rendered="#{documentHandler.mode == 2}"
style="height: 60px; width: 705px;">
<f:validateLength maximum="576"/>
</h:inputTextarea>
</td>