You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by as as <sa...@yahoo.com> on 2004/03/19 16:56:20 UTC

ValidatorForm

Hi,
So, to reset my values in the form, should I be using ValidatorForm...
Thanks,
Sam

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam

Re: ValidatorForm

Posted by Jim Theodoridis <st...@tera.gr>.
Hi

Also U can also use ActionForm
but u must use the reset() method

----- Original Message ----- 
From: "Theodosios Paschalidis" <th...@hotmail.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Friday, March 19, 2004 6:08 PM
Subject: Re: ValidatorForm


> Hi Sam,
> reset seems to work fine when using ValidatorForm. Nevertheless if your
> action throughs a GLOBAL.ERROR and you do a
> return (new ActionForward(mapping.getInput()));
> reset won't work (at least that has been my experience)
> Theo
> 
> ----- Original Message ----- 
> From: "as as" <sa...@yahoo.com>
> To: <st...@jakarta.apache.org>
> Sent: Friday, March 19, 2004 3:56 PM
> Subject: ValidatorForm
> 
> 
> > Hi,
> > So, to reset my values in the form, should I be using ValidatorForm...
> > Thanks,
> > Sam
> >
> > Do you Yahoo!?
> > Yahoo! Mail - More reliable, more storage, less spam
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 



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


Re: ValidatorForm

Posted by Theodosios Paschalidis <th...@hotmail.com>.
Hi Sam,
reset seems to work fine when using ValidatorForm. Nevertheless if your
action throughs a GLOBAL.ERROR and you do a
return (new ActionForward(mapping.getInput()));
reset won't work (at least that has been my experience)
Theo

----- Original Message ----- 
From: "as as" <sa...@yahoo.com>
To: <st...@jakarta.apache.org>
Sent: Friday, March 19, 2004 3:56 PM
Subject: ValidatorForm


> Hi,
> So, to reset my values in the form, should I be using ValidatorForm...
> Thanks,
> Sam
>
> Do you Yahoo!?
> Yahoo! Mail - More reliable, more storage, less spam

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