The html:reset really has nothing to do with the reset method of your form ...
instead this renders an input type=reset button that will reset the form fields to
their default state as known by the browser. Therefore, in the case when you have
returned to the form after a validation failure
In my experience, the reset condition is the state that the form was in when it was
loaded. So if you have a checkbox set when the form is loaded, uncheck it, and click
[Reset], the checkbox becomes checked again.
- Original Message -
From: Doug Ogateter [EMAIL PROTECTED]
To: Struts
Hi, Bill:
Thank you for reply.
The ActionForm api says:
public void reset(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset all bean properties to their default state. This method is called before the
properties are repopulated by the
Mailing List
Subject: RE: reset doesn't work well
Hi, Bill:
Thank you for reply.
The ActionForm api says:
public void reset(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset all bean properties to their default state. This method is called before
[mailto:[EMAIL PROTECTED]]
Sent: Friday, December 20, 2002 1:17 PM
To: Struts Users Mailing List
Subject: RE: reset doesn't work well
Hi, Bill:
Thank you for reply.
The ActionForm api says:
public void reset(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset all bean
5 matches
Mail list logo