[seam-commits] Seam SVN: r8928 - branches/Seam_1_2_1_AP/examples/spring/resources/WEB-INF.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Sep 8 09:29:07 EDT 2008


Author: manaRH
Date: 2008-09-08 09:29:06 -0400 (Mon, 08 Sep 2008)
New Revision: 8928

Modified:
   branches/Seam_1_2_1_AP/examples/spring/resources/WEB-INF/pages.xml
Log:
JBPAPP-1046

Modified: branches/Seam_1_2_1_AP/examples/spring/resources/WEB-INF/pages.xml
===================================================================
--- branches/Seam_1_2_1_AP/examples/spring/resources/WEB-INF/pages.xml	2008-09-08 12:01:27 UTC (rev 8927)
+++ branches/Seam_1_2_1_AP/examples/spring/resources/WEB-INF/pages.xml	2008-09-08 13:29:06 UTC (rev 8928)
@@ -64,16 +64,17 @@
         
     </page>
 
-	<page view-id="/book.xhtml" 
-          conversation-required="true">
-          
-        <description>Book hotel: #{hotel.name}</description>
-        
-        <navigation from-action="#{hotelBooking.setBookingDetails}">
-            <redirect view-id="/confirm.xhtml"/>
-        </navigation>
-        
-    </page>
+	<page view-id="/book.xhtml">
+	
+	   <description>Book hotel: #{hotel.name}</description>
+	   
+	      <navigation from-action="#{hotelBooking.setBookingDetails}">
+	         <rule if="#{hotelBooking.bookingValid}">
+	            <redirect view-id="/confirm.xhtml"/>
+	         </rule>
+	      </navigation>
+	      
+	</page> 
 
 	<page view-id="/confirm.xhtml" 
           conversation-required="true">




More information about the seam-commits mailing list