Help on form reset

2003-12-17 Thread vasudevrao gupta

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 [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

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



RE: Help on form reset

2003-12-17 Thread Fullam, Jonathan
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:[EMAIL PROTECTED]
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
[EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.

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


Re: Help on form reset

2003-12-17 Thread Martin Gainty
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" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]
> 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
> [EMAIL PROTECTED] immediately
> and destroy all copies of this message and any attachments.
>
> -
> 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]