Hi experts,
i want to deny the browser back navigation without using javscript (the
application should run on old mobile phones).
Therefore I set the Context-Parameter
org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION to 1.
With this workaround a ViewExpiredException will thrown if the user use the
back navigation of the browser.
Now we have to cache this ViewEpiredExcpetion and all other.
Something like this:
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/Exception.jsf</location>
</error-page>
<error-page>
<exception-type>javax.faces.application.ViewExpiredException</exception-type>
<location>/ExpiredException.jsf</location>
</error-page>
But only the first error-page appears.
which options I have with MyFaces 1.2 ?
I found this http://wiki.apache.org/myfaces/Handling_Server_Errors good article
but it doesn't solve my problem.
Thanks in advance,
Christian.