Im having a question regarding retrieving the view state of a JSF page. I have an application in which the user is able to search for persons in a list and when the user press "show" button the same JSF page will be filled with a list of the various persons. Now when I choose one of the persons , another JSF page will show up with more in-depth and detailed information about that person. Now in that page there is a "cancel/abort" button displayed. What I want to accomplish is that when I press that specific "cancel/abort" button the page should be redirected and navigate back to the JSF page with the list as it was shown, so in some way the "view state" should be stored (I assume only) but I dont know how it could be done... I just wanted to check if anyone has been able to solve this kind of issue in some manner.. ? (The JSF search page as mentioned above is declared as a viewscoped as an additional information)
Thanks for all help..