Problem solved! It was only a matter of knowing the right sintax.
Commons Validators do include the Regular Expression validator.
Here is an example for validating strings composed by lowercase letters,
uppercase letters, digits and spaces:

<v:commonsValidator type="mask" arg="#{text['<model>.<attribute>']}"
server="true" client="true" mask="^[a-zA-Z0-9 ]+$"/> 

Vincenzo Caselli
-- 
View this message in context: 
http://www.nabble.com/JSF-Regular-Expression-validator-clears-the-model-when-validation-fails-tp16964257s2369p16992705.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to