myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RajaManickam <>
Subject Tomahawk Regular Expression Validator
Date Wed, 20 Aug 2008 14:10:40 GMT

I am trying to use the tomahawk regular expression validator in MyFaces.

If I use the tag as shown below

|<t:validateRegExpr pattern='[\\p{L}]+'/>

it doesn't work and comes up with the validation message for all my input. However the same
regular expression works perfectly fine with the String#matches in java.
I want to do the validation this way to ensure internationalisation and there is no restriction
to accept only the english alphabets.

Please let me know how this can be solved.



View raw message