struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Barrows" <>
Subject RE: Partial Validations
Date Thu, 06 Jan 2005 19:35:36 GMT
> -----Original Message-----
> From: Apte, Dhanashree (Noblestar) []
> 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
is a good start.  I recommend buying the book.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message