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 an empty form.
Michael Weaver wrote:
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 here. Maybe I should be using a different bean to hold the form choices across requests but it seems redundant. Any thoughts on if this is a misuse of forms or not would be appreciated. If someone can point out a repository of programs demonstrating good Struts usages that would be helpful also.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]