You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Robyn Dean <rd...@equala.com> on 2003/06/06 15:15:18 UTC
behavior
Is it possible to have <html:reset/> result in a call to my ActionForm's
reset(...) method? Currently, it clears fields in the form that the user
just filled out but I would like it to clear the entire form. I need to
use the reset call and not a submit call because I do not want to
validate the form.
Thanks,
Robyn
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: behavior
Posted by James Mitchell <jm...@apache.org>.
That's what "cancel" is for.
--
James Mitchell
Software Developer/Struts Evangelist
http://www.struts-atlanta.org
770-822-3359
AIM:jmitchtx
----- Original Message -----
From: "Robyn Dean" <rd...@equala.com>
To: <st...@jakarta.apache.org>
Sent: Friday, June 06, 2003 9:15 AM
Subject: <html:reset> behavior
> Is it possible to have <html:reset/> result in a call to my ActionForm's
> reset(...) method? Currently, it clears fields in the form that the user
> just filled out but I would like it to clear the entire form. I need to
> use the reset call and not a submit call because I do not want to
> validate the form.
>
> Thanks,
> Robyn
>
>
>
> ---------------------------------------------------------------------
> 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