Created a custom validator.

I have created a constant in validation-rules.xml
<constant>
        <constant-name>alpha_num</constant-name>
        <constant-value>^[a-zA-Z0-9]*$</constant-value>
</constant>


Is it possible to use the this constant in my custom validator I created.

If so, how to use it?


Also, Is it possible to get message from the MessageResource.properties.
If so, How to get the message too from the customer validator?



Thanks.

_________________________________________________________________
From predictions to trailers, check out the MSN Entertainment Guide to the
Academy Awards® http://movies.msn.com/movies/oscars2007/?icid=ncoscartagline1


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

Reply via email to