posted 18 years ago
Hi Fellas
I am using the normal ActionForm class.
This is the design flow of how it is setup.
There is a link on the homepage. When this link is clicked, the POPULATE_FORM_ACTION class is called which prepopulates the drop down menus etc of the form.
Now this form has two buttons, the submit and the reset. When I click the reset button, I want the same action class (POPULATE_FORM_ACTION) to be called which will show the form with default values and all the values entered by the user should be cleared.
But I am not able to do this. The values entered by the user are not cleared.
I was told to change the scope to request - but it has to be session for this project. I have a reset method in which i initialize all fields to null. But that doesnt help either.
I am sure its a very simple problem cos every form does have a submit and reset functionality - but I dont know why i'm having problems
Thanks
gublooo