Re: [appfuse-user] JSF Regular Expression validator clears the model when validation fails

2008-04-30 Thread Cens
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: Vincenzo Caselli -- View this message in context: h

[appfuse-user] JSF Regular Expression validator clears the model when validation fails

2008-04-29 Thread Cens
I began to use MyFaces RegExp validator (xmlns:t="http://myfaces.apache.org/tomahawk) that is included with Appfuse-JSF archetype. It is indeed very powerful. Consider that with a simple line like this: you can constraint a field value to accept only digits and uppercase letters. In the case o