File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Specify Error Message Generated By Automatic Validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Specify Error Message Generated By Automatic Validation" Watch "Specify Error Message Generated By Automatic Validation" New topic
Author

Specify Error Message Generated By Automatic Validation

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I am trying to put entries to the MessageResource.properties file for the error messages generated by the automatic validation. I could find examples for email and date:
errors.email={0} is an invalid e-mail address.
errors.date={0} is not a date.
Nonetheless, I used "mask" to provide a number of validation rules. How do I specify those error messages? (I used mask several times.)
[ July 03, 2003: Message edited by: JiaPei Jen ]
 
wood burning stoves
 
subject: Specify Error Message Generated By Automatic Validation
 
Similar Threads
Struts Date validation using validator
Validation Problem #2
Custom validation messages
Struts Client Side Validation JavaScript error : null is required
Loosing Object-Oriented Design points - URLyBird