I have a multi page application form (jsf 1.2) with next and prev buttons for navigation. These pages should adhere the below requirements.
1) User should be allowed to move back and forth on those pages even with partially filled pages. The mandatory field validation should not stop him moving between screens.
2) Also the data he entered on a page should be restored back on his return to that page.
On an error case, jsf will postback to the same view always, but I solved this by using navigation handler inside a phase listeners after process validation callback.
But how could I save the current state before rendering the new page. I tried calling saveState on UIView before render phase, but that didn't work. How can I solve this?
What is the best way to address these requirements. I would very much appreciate an answer for this. Thanks.
Constraints : I have to address this in jsf 1.2, can't go for jsf 2.0 conversational state or third party solutions like tomahawk savestate :(