Author: norman.richards(a)jboss.com
Date: 2008-04-07 19:13:41 -0400 (Mon, 07 Apr 2008)
New Revision: 7845
Modified:
branches/Seam_2_0/examples/dvdstore/resources/WEB-INF/pages.xml
Log:
JBSEAM-2850
Modified: branches/Seam_2_0/examples/dvdstore/resources/WEB-INF/pages.xml
===================================================================
--- branches/Seam_2_0/examples/dvdstore/resources/WEB-INF/pages.xml 2008-04-07 23:12:21
UTC (rev 7844)
+++ branches/Seam_2_0/examples/dvdstore/resources/WEB-INF/pages.xml 2008-04-07 23:13:41
UTC (rev 7845)
@@ -2,7 +2,7 @@
<pages
xmlns="http://jboss.com/products/seam/pages"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://jboss.com/products/seam/pages
http://jboss.com/products/seam/pages-2.0.xsd">
-
+
<page view-id="/dvd.xhtml"
action="#{search.selectFromRequest}">
@@ -82,4 +82,9 @@
</redirect>
</exception>
+ <exception class="javax.faces.application.ViewExpiredException">
+ <redirect view-id="/home.xhtml">
+ <message>The page you tried to access is no longer
available.</message>
+ </redirect>
+ </exception>
</pages>