This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Specify Error Message Generated By Automatic Validation

 
JiaPei Jen
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic