Dear All,
In my application i handled the viewId Expired Exception by writing the following tag in web.xml file:
<error-page>
<exception-type>javax.faces.application.ViewExpiredException</exception-type>
<location>/user/Login.jsf</location>
</error-page>
So when ever the view Expires it navigates to Login.jsf page.But in that page rich components are not displaying properly.See below images:
Before view ID Expires:
After ViewId Expires:
See the above two images.Here Aroung Login i have used <rich:panel> component and even the <h:commandButton> also appears like normal button without skin. Default Skin i set is glassX. Why this is happening? Any Solution for this.
Dear srikanth,
see this link :
http://weblogs.java.net/blog/edburns/archive/2009/09/03/dealing-gracefully-viewexpiredexception-jsf2
and you can also try JSF 2 new feature (System Events) event : ExceptionQueuedEvent.
regards.