Now my code is:
<h:inputTextarea styleClass="text medium" id="description"
value="#{subsystemForm.subsystem.description}" required="true"
maxlength="1500" cols="80" rows="10">
<v:commonsValidator type="required"
arg="#{text['subsystem.description']}"
server="true"
client="true"/>
<v:commonsValidator type="maxlength"
arg="#{text['subsystem.description']}"
max="1500"
maxlength="1500"
server="true"
client="true"/>
</h:inputTextarea>
The "max" parameter is to server side validatioin, and the "maxlength"
parameter to the client side.
Thank you one more time!!!
--
View this message in context:
http://www.nabble.com/v%3AcommonsValidator-maxlength-tp18867067p18886904.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.