struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Caroline Jen <jiapei_...@yahoo.com>
Subject Specify Error Messages For Automatic Validation
Date Tue, 08 Jul 2003 23:53:25 GMT
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


Mime
View raw message