[jboss-cvs] jboss-seam/examples/booking/resources/WEB-INF ...
Shane Bryzak
sbryzak at redhat.com
Thu Mar 8 02:35:05 EST 2007
User: sbryzak2
Date: 07/03/08 02:35:05
Modified: examples/booking/resources/WEB-INF pages.xml
Log:
natural conversation ids
Revision Changes Path
1.21 +8 -7 jboss-seam/examples/booking/resources/WEB-INF/pages.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: pages.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/booking/resources/WEB-INF/pages.xml,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- pages.xml 27 Feb 2007 07:16:44 -0000 1.20
+++ pages.xml 8 Mar 2007 07:35:05 -0000 1.21
@@ -5,6 +5,11 @@
<pages no-conversation-view-id="/main.xhtml"
login-view-id="/home.xhtml">
+ <conversation name="BookHotel"
+ parameter-name="hotelId"
+ parameter-value="#{hotel.id}"/>
+
+
<page view-id="/register.xhtml">
<action if="#{validation.failed}"
@@ -42,14 +47,10 @@
<page view-id="/main.xhtml"
login-required="true">
- <navigation from-action="#{hotelBooking.selectHotel(hot)}">
- <redirect view-id="/hotel.xhtml"/>
- </navigation>
-
</page>
<page view-id="/hotel.xhtml"
- conversation-required="true">
+ conversation="BookHotel">
<description>View hotel: #{hotel.name}</description>
@@ -60,7 +61,7 @@
</page>
<page view-id="/book.xhtml"
- conversation-required="true">
+ conversation="BookHotel">
<description>Book hotel: #{hotel.name}</description>
@@ -73,7 +74,7 @@
</page>
<page view-id="/confirm.xhtml"
- conversation-required="true">
+ conversation="BookHotel">
<description>Confirm booking: #{booking.description}</description>
More information about the jboss-cvs-commits
mailing list