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
[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
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
Hi all
I have problem with one of my submit buttons on my form ,
Each time the following submit is clicked nested:submit
property=insertDepartment Add a new Dept /nested:submit
I need to execute the setInsertDepartment method of the Form class, however
this also results in the reset method of
I have a set of 10 or more jsp pages for every ActionForm in my
application. Within these pages I want to reset the form for
different forms. On a jsp page I tell the form what page I
want to go to with
html:submit property=action values=insert ..
In the reset method action parameter is set to
To: [EMAIL PROTECTED]
Subject: Re: Session Form Reset?
DHarty [EMAIL PROTECTED] wrote:
Why does the servlet call the reset method of an action form even when
it's
been put in the session scope?
It doesn't do much good if my session bean is reset to null after every
request!
D
The reset
Why does the servlet call the reset method of an action form even when it's
been put in the session scope?
It doesn't do much good if my session bean is reset to null after every
request!
D
The documentation mentions using one form bean to handle multiple forms such
as when you have a wizard type of user interface that spreads the form's
fields over various pages.
But, everytime the next page is called, ActionServlet.processPopulate calls
the form beans reset method and then copies
In your reset method include a condition where the values are only reset on
the last page of the form.
- Original Message -
From: Michael Binette [EMAIL PROTECTED]
To: Struts-User [EMAIL PROTECTED]
Sent: Saturday, May 12, 2001 8:20 AM
Subject: Form Reset
The documentation mentions
Search the struts mailing list archives for the keyword 'dirty flag'.
You will get a possible solution
cheers,
Amar..
-Original Message-
From: Tharwat Abdul-Malik [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 12, 2001 10:59 AM
To: [EMAIL PROTECTED]
Subject: Re: Form Reset
In your
10 matches
Mail list logo