Skip to content Skip to sidebar Skip to footer

Primefaces Viewexpiredexception After Page Reload

I have wrapper PrimeFaces.ajax.AjaxResponse to handle ViewExpiredException (reloading the page): var handleViewExpired = function (viewId) { window.alert('${msg.ajax.viewExpire

Solution 1:

If you have many (>15) pages/views/frames that are concurrently opened in the session, then, the following may be useful.

You need to have a look on:

1. numberOfViewsInSession: defines the number of (top-level) view states (pages) to support back button operation

2. numberOfLogicalViews: defines the number of logical views (frames) that can present in a page (per top-level view)

A quick action to make sure if it's relevant is to set those numbers to 500, and see If they are relevant, then, you can find more information in the following links:

http://www.java.net/node/681211

Problem with numberOfViewsInSession and multiple tabs

Post a Comment for "Primefaces Viewexpiredexception After Page Reload"