Suresh, did you setup the component exactly as in my
jsp code above? If not, could you please try that?
The validation code is working, but the error message is still not seen. So, when I enter an invalid email, 'Email required message' is thrown, not the validation message.
I dont think I included this in my posts, but since the component uses the binding attribute and not the value attribute the following code needs to be added to the set accessor method of the component:
If not the h:message tag throws a standard error message when the field is empty.
Thanks.