Re: reset form in session scope

2005-09-30 Thread atta-ur rehman
age. Is > that right? > > -Original Message- > From: atta-ur rehman [mailto:[EMAIL PROTECTED] > Sent: 30 September 2005 15:52 > To: Struts Users Mailing List > Subject: Re: reset form in session scope > > Faisal, > > Are you saying you want to do it on client

RE: reset form in session scope

2005-09-30 Thread faisal.shoukat
: reset form in session scope Faisal, Are you saying you want to do it on client side? Using the 'normal' HTML reset? If so, I don't see how. That's why I assumed you're submitting for reset. The reset button only resets your form elements; and you can use javascript to ca

Re: reset form in session scope

2005-09-30 Thread atta-ur rehman
not seem to do anything > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 30 September 2005 15:42 > To: user@struts.apache.org; [EMAIL PROTECTED] > Subject: RE: reset form in session scope > > The reset button from the search form does n

Re: reset form in session scope

2005-09-30 Thread atta-ur rehman
; get called. > > > > -Original Message----- > From: atta-ur rehman [mailto:[EMAIL PROTECTED] > Sent: 30 September 2005 15:30 > To: Struts Users Mailing List > Subject: Re: reset form in session scope > > in the actionClient action class, on reset button click: &

RE: reset form in session scope

2005-09-30 Thread faisal.shoukat
] Subject: RE: reset form in session scope The reset button from the search form does not go to the actionclientaction class. Maybe I have explained it badly. My jsp has some search fields and the user enters criteria into these then clicks submit. This returns a table of results further down the page

RE: reset form in session scope

2005-09-30 Thread faisal.shoukat
2005 15:30 To: Struts Users Mailing List Subject: Re: reset form in session scope in the actionClient action class, on reset button click: ActionForm form = (ActionForm) session.getAttribute("searchClientForm"); if (form != null) { form.reset(...); } only if I understood your question

Re: reset form in session scope

2005-09-30 Thread atta-ur rehman
in the actionClient action class, on reset button click: ActionForm form = (ActionForm) session.getAttribute("searchClientForm"); if (form != null) { form.reset(...); } only if I understood your question correctly and search form is not doing anything with mapping and/or request in it's reset() m

reset form in session scope

2005-09-30 Thread faisal.shoukat
Hi, I have a search.jsp which contains two forms search form and a action form. The search form submits all the search criteria to the action class which queries the DB then returns a result. The action form then decides which action to do with what result. The problem I have is how do I re