0 Replies Latest reply on Jan 23, 2009 10:20 AM by mskruch

    Redirect to previous page scope

    mskruch

      I have two pages



      • a list,

      • an edit page;



      Both of them are page scoped. When I enter the edit page from the list, and click the back button in browser, i get the same component for list as before (new page scoped bean is not created).


      Now I want to redirect to the list page after changing some data (save button). When I do redirect, I get new page scoped component for list.


      Is there any way to get the old component. What for? - If user click an edit link on second page of list, I want to show him the second page after saving data, where he can see modified record - not the first page like he's entering the list page for the first time.


      Thanks in advance, Marcin