selectOneMenu not resetting on user refresh
843844Sep 5 2008 — edited Sep 5 2008Hello,
I am using Sun JSF RI/Tomcat 6 for an application I'm working on and have a problem with the behavior of the selectOneMenu component.
It appears that when a user refreshes the browser, the slectOneMenu will retain the currently selected item, and not default to the initial value I set in my backing bean.
This is a problem since I have a dataTable(RichFaces) that is dependent on the value of that selectOneMenu. In request scope, if the user refreshes the browser, the backing bean gets created with initial values that no longer match the selected item of the selectOneMenu. If I change the bean to have session scope, the bean/selectOneMenu stays in synch, but I would rather avoid this.
Thanks...