Author: lincolnthree
Date: 2010-06-15 18:30:05 -0400 (Tue, 15 Jun 2010)
New Revision: 13169
Modified:
examples/trunk/booking-simplified/src/main/webapp/WEB-INF/beans.xml
examples/trunk/booking-simplified/src/main/webapp/WEB-INF/pretty-config.xml
Log:
Updated prettyfaces config and enabled conversation boundary interceptor
Modified: examples/trunk/booking-simplified/src/main/webapp/WEB-INF/beans.xml
===================================================================
--- examples/trunk/booking-simplified/src/main/webapp/WEB-INF/beans.xml 2010-06-15
21:55:11 UTC (rev 13168)
+++ examples/trunk/booking-simplified/src/main/webapp/WEB-INF/beans.xml 2010-06-15
22:30:05 UTC (rev 13169)
@@ -7,4 +7,8 @@
<alternatives>
<class>org.jboss.seam.examples.booking.setup.ApplicationSetupBean</class>
</alternatives>
+
+ <interceptors>
+ <class>org.jboss.seam.faces.context.conversation.ConversationBoundaryInterceptor</class>
+ </interceptors>
</beans>
\ No newline at end of file
Modified: examples/trunk/booking-simplified/src/main/webapp/WEB-INF/pretty-config.xml
===================================================================
--- examples/trunk/booking-simplified/src/main/webapp/WEB-INF/pretty-config.xml 2010-06-15
21:55:11 UTC (rev 13168)
+++ examples/trunk/booking-simplified/src/main/webapp/WEB-INF/pretty-config.xml 2010-06-15
22:30:05 UTC (rev 13169)
@@ -9,4 +9,34 @@
<view-id>/home.seam</view-id>
</url-mapping>
+ <url-mapping>
+ <pattern value="/search"></pattern>
+ <view-id>/search.seam</view-id>
+ </url-mapping>
+
+ <url-mapping>
+ <pattern value="/hotel/#{/\d+/ id}"></pattern>
+ <view-id>/hotel.seam</view-id>
+ </url-mapping>
+
+ <url-mapping>
+ <pattern value="/book"></pattern>
+ <view-id>/book.seam</view-id>
+ </url-mapping>
+
+ <url-mapping>
+ <pattern value="/confirm"></pattern>
+ <view-id>/confirm.seam</view-id>
+ </url-mapping>
+
+ <url-mapping>
+ <pattern value="/register"></pattern>
+ <view-id>/register.seam</view-id>
+ </url-mapping>
+
+ <url-mapping>
+ <pattern value="/settings"></pattern>
+ <view-id>/password.seam</view-id>
+ </url-mapping>
+
</pretty-config>
\ No newline at end of file
Show replies by date