struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Caroline Jen <jiapei_...@yahoo.com>
Subject How To Specify Error Messages For Self-Provided Validation Rules: "mask"
Date Mon, 07 Jul 2003 07:33:06 GMT
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


Mime
View raw message