You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Caroline Jen <ji...@yahoo.com> on 2003/07/07 09:33:06 UTC

How To Specify Error Messages For Self-Provided Validation Rules: "mask"

I am trying to insert entries in the
MessageResources.properties file for 
the error messages generated by automatic validation.
I could find examples for email and date (see below):

errors.email={0} is an invalid e-mail address.
errors.date={0} is not a date.

What should the messages look like for "mask" in the
MessageResources.properties? I used "mask" to provide
a number of validation rules.  How do I specify those
error messages? (I used mask several times.)


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org