dealing with javax.faces.application.ViewExpiredException in jsf 1.2
balteoNov 17 2010 — edited Nov 17 2010Hello,
I am working on a jsf 1.2 application and I am trying to implement a way to deal with the ViewExpiredException. Here is what I tried:
<error-page>
<exception-type>javax.faces.application.ViewExpiredException</exception-type>
<location>/WEB-INF/include/viewExpired.jsf</location>
</error-page>
(there is a viewExpired.xhtml file in the same folder as the jsf file)
What happens is that the above exception is indeed thrown by my app by an ajax component but the error page is not displayed leaving the user with an application that is not working.
Can anyone please help?
Thanks in advance,
Julien.