1 Reply Latest reply on Sep 26, 2008 9:14 AM by Ilya Shaikovsky

    back button problem

    Leonardo Luiz Newbie

      Hi,

      I have a CRUD form that have two panelGroups (search and edit). Each panel is rendered according to a state attribute on a backing bean. When user clicks on browser's back button the internal state doesn't changes. So, when some validation error occurs the edit panel is displayed because internal state still "edit" instead of "search".

      Once I have some logic based on that state (including validation), I am getting erroneous behaviors on my application.

      How can I automatically update internal state after user click on back button, before validation phase?

      I am using JSF 1.2, Richafaces 3.2.1 and facelets.

      Thanks,

      Leonardo Luiz