I am developing "search" functionality in my "struts-powered" 
application. I have implemented two Action classes (one navigates a 
user to the Search form and the other actually runs the search). On 
the Search Results screen, the user has two options: Modify Search 
and New Search.

So far so good. However, when the user requests a New Search, I 
cannot seem to restore the Search form to its "new" state i.e. with 
all the search criteria fields nulled out. 

I have tried calling the form's reset method from within my 
NavigateSearchAction class, but from what I gather from going through 
the Struts ActionServlet source code, it re-populates the form 
between Action calls. Essentially, it retains form "state" between 
two requests. This is great, but what if I want my form state to be 
changed in between two requests?

If anybody has any ideas, would deeply appreciate it.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to