What you are describing is the normal behavior of ,
which is the end product of .
If you want to clear the form, you have two decent choices: a button
that calls a client side function to run through the form and clear it,
or server side logic to recognize the button press on submit and return
Hmmm I would think that html:reset would tie into the Form.reset()
method, but you said you are using a DynaForm so I'm not sure how that
would work (I hard code all my forms because I like wasting time :)
Michael Weaver wrote:
I am new to Struts and have tried to used a DynaActionForm to hold
I am new to Struts and have tried to used a DynaActionForm to hold the users form
choices across requests by setting the form to session scope. This causes a problem
with html:reset since I get back the same values on reset and in effect nothing is
reset. I could be committing a big design no no
3 matches
Mail list logo