struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashima Beri <ashima.b...@gmail.com>
Subject Re: reset problem for a dynavalidator form
Date Sat, 02 Feb 2008 19:43:07 GMT

Thanks Dave! This explains it.


newton.dave wrote:
> 
> --- Ashima Beri <ashima.beri@gmail.com> wrote:
>> I read in struts flow explanation that Action class is only called if the
>> validations are passed through.
>> I dont know what other way to adopt.
> 
> What Laurie is saying is that you can implement a validate() method and
> call
> super.validate() before you do  your custom processing (which seems to
> include clearing out all form values?)
> 
> You can check to see if there were validation errors the same way the
> workflow interceptor does; by checking for the presence of error messages.
> 
> Dave
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/reset-problem-for-a-dynavalidator-form-tp15244933p15246419.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message