I'm searching info about how to use v:commonsValidator, something more than
check a required field or an email, but I don't find anything.
Where can I find something like documentation, and not just a little
example, always the same "required field" example!!
I'm trying to validate the maxlength of a textArea, and I try something like
this:
<h:inputTextarea styleClass="text medium" id="description"
value="#{subsystemForm.subsystem.description}" required="true"
maxlength="1500">
<v:commonsValidator type="required"
arg="#{text['subsystem.description']}" />
<v:commonsValidator type="maxlength"
arg="#{text['subsystem.description']}"/>
</h:inputTextarea>
But I think that I have to set the maxlength value in some parameter in
v:commonsValidator node...
Please, help! This must be too easy to loose so much time!!!
--
View this message in context:
http://www.nabble.com/v%3AcommonsValidator-maxlength-tp18867067p18867067.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.