struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todor Sergueev Petkov <t.s.pet...@basalmed.uio.no>
Subject Validating fields only in some situations question....
Date Wed, 30 Jul 2003 15:36:50 GMT
Hello, I have a question :

I am using Validator framework with Struts. I have a login form on my
web page which is associated
with 3 buttons - Login, to log the user in
		 Reset , to reset the form fields
		 Register, which brings the user to a new registration page

I use only one Action of the type DispatchAction which determines what
exactly to do.

My question is : how can I tell the Validator framework to perform
validation only when the user presses the Login button
and to ignore the vallidation when the users presses any of the two
other buttons ?

Thanks,
		Todor

---------------------------------------------------------------------
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