struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Help on form reset
Date Wed, 17 Dec 2003 19:27:47 GMT
Any Form Bean which extends ActionForm can override the reset() method
http://www.fawcette.com/javapro/2002_07/online/kjones/default_pf.aspx
Is there something in particular you wish to accomplish?

Martin

----- Original Message ----- 
From: "Fullam, Jonathan" <Jonathan.Fullam@RIAG.com>
To: "'Struts Users Mailing List'" <struts-user@jakarta.apache.org>
Sent: Wednesday, December 17, 2003 9:11 AM
Subject: RE: Help on form reset


> No, the reset method will automatically be called on a Session scoped
> ActionForm upon each request.  Request scoped ActionForms are newly
> instantiated upon each request so, with Request scoped ActionForms, the
> reset method is irrelevant.
> -Jonathan
>
> -----Original Message-----
> From: vasudevrao gupta [mailto:vasudevrao.gupta@wipro.com]
> Sent: Wednesday, December 17, 2003 9:06 AM
> To: 'Struts Users Mailing List'
> Subject: Help on form reset
>
>
>
> Hi,
>
> I am new to struts..
> I understand that the validate method of the Action form can be called
> based on the "validate"
> attribute in struts_config.xml.
> Similarly, for the reset method, can we configure in the xml file.
>
> Regards
> VasudevRaoGupta
>
>
> Confidentiality Notice
>
> The information contained in this electronic message and any attachments
to
> this message are intended
> for the exclusive use of the addressee(s) and may contain confidential or
> privileged information. If
> you are not the intended recipient, please notify the sender at Wipro or
> Mailadmin@wipro.com immediately
> and destroy all copies of this message and any attachments.
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message