This content has been marked as final. Show 2 replies
When the session has timed out, and a user uses an Ajax enabled component, a JS popup with the message "View state couldn't be restored..." is shown to the user.
I need to disable that, as the user has no idea what that means, and if the user chooses OK, then an uncaught Seam exception is thrown. If the user chooses Cancel, then the user is presented with the correct page (which in my case is the login page). So, I would like to have the "Cancel" functionality executed automatically in these cases?
How can I accomplish this?