and how can i reset these errors. ones there is an error and i go back
this errors tend to add up insted of reset...

tanks

tibi

tibi wrote:
> hi,
>
> can someone enlight me on struts validator.
>
> when i have a struts validator on a form and i call a method the
> validator cicks in before i submit the form. that is not what i want.
> when i move the code to the execute method the validator does not cick
> in and my app works fine.
>
> example:
> this works:
>         <action name="convertSubscribtion" class="subscriberAction"
> method="execute">
>
>     public String autoSelect() {
> //do some stuff here
> return SUCCESS
>  }
>
>     @Override
>     public String execute() throws Exception {
>         log.debug("execute");
>         return autoSelect();
>     }
> ============================================
> this not because the validoter is in the way:
>
>         <action name="convertSubscribtion" class="subscriberAction"
> method="autoSelect">
>
>     public String autoSelect() {
> //do some stuff here
> return SUCCESS
>  }
>
>
> thanks,
>
> tibi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to