struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: reset problem for a dynavalidator form
Date Sat, 02 Feb 2008 18:33:18 GMT
--- 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


Mime
View raw message