-
Bug
-
Resolution: Won't Do
-
Minor
-
EAP_EWP 5.1.0
-
None
-
EAP 5.1.0, Seam 2.2.2.EAP5, Richfaces 3.3.1.SP2
-
-
-
-
Not Yet Documented
-
NEW
The following exception handler is defined in the pages.xml:
<exception class="javax.faces.application.ViewExpiredException"> <redirect view-id="/error.xhtml"> <message severity="warn">Your session has timed out, please try again</message> </redirect> </exception>
Then seam handles javax.faces.application.ViewExpiredException and redirects to the error.xhtml after a session timeout happens.
The page redirection works fine. And the faces message "Your session has timed out, please try again" is shown correctly when ViewExpiredException is triggered by normal http request like <h:commandButton>.
But the faces message is not displayed when ViewExpiredException is triggered by ajax request like <a4j:commandButton>.