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/09 01:53:25 UTC
Specify Error Messages For Automatic Validation
I am trying to put entries in the
MessageResource.properties file for the error messages
generated by the automatic validation.
I used "mask" to provide a number of validation rules.
How do I specify those error messages? (I used "mask"
for a number of text field to report various errors.)
I would like to see an example.
I could find examples for email and date:
errors.email={0} is an invalid e-mail address.
errors.date={0} is not a date.
__________________________________
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