Author: jharting
Date: 2008-10-02 08:40:13 -0400 (Thu, 02 Oct 2008)
New Revision: 9174
Modified:
trunk/examples/spring/resources/WEB-INF/pages.xml
Log:
JBSEAM-3492
Modified: trunk/examples/spring/resources/WEB-INF/pages.xml
===================================================================
--- trunk/examples/spring/resources/WEB-INF/pages.xml 2008-10-02 09:17:59 UTC (rev 9173)
+++ trunk/examples/spring/resources/WEB-INF/pages.xml 2008-10-02 12:40:13 UTC (rev 9174)
@@ -71,7 +71,9 @@
<description>Book hotel: #{hotel.name}</description>
<navigation from-action="#{hotelBooking.setBookingDetails}">
- <redirect view-id="/confirm.xhtml"/>
+ <rule if="#{hotelBooking.bookingValid}">
+ <redirect view-id="/confirm.xhtml"/>
+ </rule>
</navigation>
</page>