Hi,
 
Hint - DynaValidatorActionForm
 
Best Regards,
Janarthan S

Jim Barrows <[EMAIL PROTECTED]> wrote:
> -----Original Message-----
> From: Apte, Dhanashree (Noblestar) [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 06, 2005 12:20 PM
> To: 'Struts Users Mailing List'
> Subject: Partial Validations
> 
> 
> 
> I have a UserForm which holds data for two wizard-type data 
> entry pages,
> meaning, a user enters half the information on one page, hits 
> NEXT, enters
> the remaining information on the next page and hits SUBMIT.
> 
> Example: UserForm has name, id, dob, countryOfResidence being 
> populated from
> the first page and street1, street2, street3, city, state, zip being
> populated from the second page.
> 
> On the first page, the name and countryOfResidence are 
> required fields and
> on the second page street1, city, state, zip are required.
> 
> How do I setup the struts validator so that I can only run 
> the validations
> for name and countryOfResidence piece of the UserForm when 
> the user hits
> NEXT on the first page and then run the validations for street1, city,
> state, zip when the user hits SUBMIT on the second page?

Reading the folowing chapter from Struts In Action 
http://www.manning-source.com/books/husted/husted_ch12.pdf
is a good start. I recommend buying the book.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


                
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - Find what you need with new enhanced search. Learn more.

Reply via email to