Thanks Dave! This explains it.
newton.dave wrote:
>
> --- Ashima Beri <[EMAIL PROTECTED]> 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 imp
Thanks Laurie...
This helps!
Ill go the secod way.
Laurie Harper wrote:
>
> On a normal form submit to an action with validation, if validation
> fails, the request is forwarded to the input result and execute() is
> bypassed, yes. So, you have two options:
>
> 1) as Dave reiterated, you can
On a normal form submit to an action with validation, if validation
fails, the request is forwarded to the input result and execute() is
bypassed, yes. So, you have two options:
1) as Dave reiterated, you can put your form reset logic in validate();
have your validate method detect the when th
--- Ashima Beri <[EMAIL PROTECTED]> 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 d
Hi Laurie,
Thanks for the quick reply.
I want to reset the form fields after hitting a reset button.
When I thought of going about it through the Action class way and tried to
clear out my form fields , strangely i noticed that the Action class's
execute method is never called if there are still c
Ashima Beri wrote:
Hi,
I am trying to reset a validator form after the form is submitted and a few
of the validations have failed.
Reset button used in the form clears out fields changed only since the time
the form is loaded. That is it does just the client side reset. One way that
i figured out
6 matches
Mail list logo