struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kearney, Michael" <mkear...@qualstar-boulder.com>
Subject RE: Use of Validator in a Wizard Validator
Date Wed, 16 Jul 2003 13:57:25 GMT
Oh well.
Certainly it would be nice if, as part of the workflow proposal,
there were an additional <page> tag inside the <form> tag in 
validation.xml.  This would allow struts to validate by page.

BTW, if you're coding or hardcoding the multi-page validations in your
validate
routine you're doing it wrong.  That information is already contained in
the validation.xml file.

	-Michael

-----Original Message-----
From: Kearney, Michael [mailto:mkearney@qualstar-boulder.com]
Sent: Tuesday, July 15, 2003 7:46 AM
To: 'Struts Users Mailing List'
Subject: RE: Use of Validator in a Wizard Validator


Hmmm, no response.  Let me rephrase the question.

How do you perform field validation in your wizards?

Thanks, Michael

-----Original Message-----
From: Kearney, Michael [mailto:mkearney@qualstar-boulder.com]
Sent: Monday, July 14, 2003 12:28 PM
To: 'struts-user@jakarta.apache.org'
Subject: FW: Use of Validator in a Wizard Validator


 The "Struts in Action" book describes how to do multipage validations in
chapter 12.10.1
 by using the following code:
 if (page == 1) {
 	//Check page 1 properties
 }
 if (page == 2) (
 	// And so on.
 
 Unfortunately, it doesn't go into detail about what goes inside the braces.
 What I'd like to know is what is the method call I use to validate just a
single field so I
 don't have to reinvent the wheel.
 
 	Best Regards,
                Michael
 
 
 Michael P. Kearney
 MKearney@Qualstar.com
 303-444-1101 x105
 Qualstar Corporation
 Advanced Development
 5480 Valmont Rd., Suite 250
 Boulder, CO 80301-2367

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message