I have a jsf 1.2 application with some links in the index page. This links are oppened by clicks, on new jquery dialogs. Every link open a new page of my app in a distinct dialog, so, the application can open many links in many dialogs in a single page. All my managed beans have session scope.
My problem is, when i open a new dialog and click in any link inside, my application still works fine, but after this, if i click in other link in my index page to open another dialog, the app shows me a ViewExpiredException
. I have tried update my jsf to 2.0, set EnableRestoreView11Compatibility
in web.xml
to true, use keepAlive
in my beans, but nothing works.
I think its happened because i have a main page with one state and, when i click to open a new page in a jquery dialog, it loads the entire page and put the html inside. So, the request made no reference to the state of main page. How can i resolve this?