Re: reset() in my action form is not working

2003-07-30 Thread Michael Ruppin
That's not what the ActionForm.reset() method is for. It's called prior to population of your ActionForm from the request, to set values for things which may not be in the request [but should be], like unchecked checkboxes. What you need is some ActionForm.setEmpty() method to call before

RE: reset() in my action form is not working

2003-07-30 Thread Amit Kirdatt
Have you tried request.setAttribute(mapping.getAttribute(), new SampleForm()); ? Although I do agree with Michael. -Original Message- From: victor gusz [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 3:32 PM To: [EMAIL PROTECTED] Subject: reset() in my action form is not working

Re: reset() in my action form is not working

2003-07-30 Thread victor gusz
Thanks, its working now. --- Michael Ruppin [EMAIL PROTECTED] wrote: That's not what the ActionForm.reset() method is for. It's called prior to population of your ActionForm from the request, to set values for things which may not be in the request [but should be], like unchecked

RE: reset() in my action form is not working

2003-07-30 Thread victor gusz
Thanks, Amit, its working now. --- Amit Kirdatt [EMAIL PROTECTED] wrote: Have you tried request.setAttribute(mapping.getAttribute(), new SampleForm()); ? Although I do agree with Michael. -Original Message- From: victor gusz [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30,