DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7501>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7501

ActionForm.reset() called twice.





------- Additional Comments From [EMAIL PROTECTED]  2002-03-26 21:24 -------
Why is this important?

Because the reset() is used to establish state in the ActionForm object.  My 
reset() connects to a database and retrieves values necessary for the form.


Why am I doing this in reset()?

I need to initialize the ActionForm after the post and before the form is 
populated.  The ActionForm contains a business object that 1) can't be saved in 
the session as there may be several instances of the ActionForm and 2) can't be 
included in a form's hidden fields as it is an Object.  
I use a hidden field containing a primary key to locate and load the object 
from the database in the reset()

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

Reply via email to