jQuery in Action, 3rd edition
The moose likes Struts and the fly likes Action Form remembering values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Action Form remembering values" Watch "Action Form remembering values" New topic

Action Form remembering values

Brian Quinn
Ranch Hand

Joined: Dec 23, 2003
Posts: 32
I have a filter form that the user clicks values and submits and a table appears. This form has submit and clear buttons. If I hit clear the table empties properly, but the filter remembers the values selected by the user even though I have a javascript function reloading the filter form. Strange thing is , the values are not always rememebered. Sometimes the form is cleared properly, other times it is not . Here is my javascript :
function windowReload()
And the button as an on click = windowsReload for the clear button.
Any idea why the selected values would be remembered by the form ?
David Yutzy
tumbleweed and gunslinger
Ranch Hand

Joined: Jun 29, 2001
Posts: 192
In your struts-config.xml, what do you have set for the action's scope?
I agree. Here's the link: http://aspose.com/file-tools
subject: Action Form remembering values
It's not a secret anymore!