| Author |
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() { parent.filter.location.href="./Filter.do"; parent.filter.location.reload(); } 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?
|
 |
 |
|
|
subject: Action Form remembering values
|
|
|