I use mapping.getName() as part of my user input validation strategy.
Basically its part of the key for retrieving validation rules out from my
resources file.

For example, my "contactForm" would use the following keys:
contactForm.required.fields=firstName,lastName,emailAddress
contactForm.email.fields=emailAddress
contactForm.date.fields=birthDate

If your curious, see the attached ValidatingForm, ValidatingFormAdapter &&
ContactForm

Feedback is always welcome..

Levi Cook

-----Original Message-----
From: Rajan Gupta [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 11, 2001 2:33 PM
To: [EMAIL PROTECTED]
Subject: Use of Mapping in ActionForm's validate() method


Hi! All
Can anybody provide me with a use for mapping parameter in validate()
method of ActionForm?

If u have used this parameter for something please let me know.

Thanks in advance.
Rajan


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

ValidatingForm.java

ValidatingFormAdapter.java

ContactForm.java

Reply via email to