diff --git a/spring-webflow-samples/booking-jsf/src/main/webapp/WEB-INF/config/application-layer-config.xml b/spring-webflow-samples/booking-jsf/src/main/webapp/WEB-INF/config/application-layer-config.xml index 09add3fb..d24018ac 100755 --- a/spring-webflow-samples/booking-jsf/src/main/webapp/WEB-INF/config/application-layer-config.xml +++ b/spring-webflow-samples/booking-jsf/src/main/webapp/WEB-INF/config/application-layer-config.xml @@ -8,8 +8,10 @@ http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd"> + + @@ -17,6 +19,7 @@ + @@ -24,13 +27,18 @@ + + + + + \ No newline at end of file diff --git a/spring-webflow-samples/booking-jsf/src/main/webapp/WEB-INF/config/web-application-config.xml b/spring-webflow-samples/booking-jsf/src/main/webapp/WEB-INF/config/web-application-config.xml index 43bf06a7..6e6eae4b 100755 --- a/spring-webflow-samples/booking-jsf/src/main/webapp/WEB-INF/config/web-application-config.xml +++ b/spring-webflow-samples/booking-jsf/src/main/webapp/WEB-INF/config/web-application-config.xml @@ -8,6 +8,7 @@ http://www.springframework.org/schema/webflow-config http://www.springframework.org/schema/webflow-config/spring-webflow-config-2.0.xsd"> + @@ -31,12 +32,14 @@ + + diff --git a/spring-webflow-samples/booking-jsf/src/main/webapp/WEB-INF/faces-config.xml b/spring-webflow-samples/booking-jsf/src/main/webapp/WEB-INF/faces-config.xml index acf136c9..8a0d7056 100755 --- a/spring-webflow-samples/booking-jsf/src/main/webapp/WEB-INF/faces-config.xml +++ b/spring-webflow-samples/booking-jsf/src/main/webapp/WEB-INF/faces-config.xml @@ -5,6 +5,7 @@ + com.sun.facelets.FaceletViewHandler \ No newline at end of file diff --git a/spring-webflow-samples/booking-jsf/src/main/webapp/WEB-INF/web.xml b/spring-webflow-samples/booking-jsf/src/main/webapp/WEB-INF/web.xml index df28d08d..bbcef705 100755 --- a/spring-webflow-samples/booking-jsf/src/main/webapp/WEB-INF/web.xml +++ b/spring-webflow-samples/booking-jsf/src/main/webapp/WEB-INF/web.xml @@ -4,6 +4,7 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4"> + contextConfigLocation @@ -11,27 +12,20 @@ - + javax.faces.DEFAULT_SUFFIX .xhtml - + org.springframework.web.context.ContextLoaderListener - - - - org.springframework.web.context.request.RequestContextListener - - - Flow System Cleanup Filter @@ -40,19 +34,20 @@ - + Flow System Cleanup Filter *.spring - + Faces Servlet javax.faces.webapp.FacesServlet 1 + Faces Servlet *.spring diff --git a/spring-webflow-samples/booking-jsf/src/main/webapp/flow/booking/booking-beans.xml b/spring-webflow-samples/booking-jsf/src/main/webapp/flow/booking/booking-beans.xml index e06c069f..141de522 100755 --- a/spring-webflow-samples/booking-jsf/src/main/webapp/flow/booking/booking-beans.xml +++ b/spring-webflow-samples/booking-jsf/src/main/webapp/flow/booking/booking-beans.xml @@ -1,7 +1,6 @@ diff --git a/spring-webflow-samples/booking-jsf/src/main/webapp/flow/booking/booking.xml b/spring-webflow-samples/booking-jsf/src/main/webapp/flow/booking/booking.xml index 47a54127..e7411eb1 100755 --- a/spring-webflow-samples/booking-jsf/src/main/webapp/flow/booking/booking.xml +++ b/spring-webflow-samples/booking-jsf/src/main/webapp/flow/booking/booking.xml @@ -4,6 +4,10 @@ xsi:schemaLocation="http://www.springframework.org/schema/webflow http://www.springframework.org/schema/webflow/spring-webflow-1.0.xsd"> + @@ -44,10 +48,12 @@ + + diff --git a/spring-webflow-samples/booking-jsf/src/main/webapp/flow/booking/bookingForm.xhtml b/spring-webflow-samples/booking-jsf/src/main/webapp/flow/booking/bookingForm.xhtml index bbd0103c..c023bfa8 100755 --- a/spring-webflow-samples/booking-jsf/src/main/webapp/flow/booking/bookingForm.xhtml +++ b/spring-webflow-samples/booking-jsf/src/main/webapp/flow/booking/bookingForm.xhtml @@ -20,27 +20,22 @@
Name:
#{hotel.name}
-
Address:
#{hotel.address}
-
City, State:
#{hotel.city}, #{hotel.state}
-
Zip:
#{hotel.zip}
-
Country:
#{hotel.country}
-
Nightly rate:
@@ -49,7 +44,6 @@
-
Check In Date: @@ -62,7 +56,6 @@
-
Check Out Date: @@ -75,7 +68,6 @@
-
Room Preference: @@ -88,7 +80,6 @@
-
Smoking Preference: @@ -100,7 +91,6 @@
-
Credit Card #: @@ -111,7 +101,6 @@
-
Credit Card Name: @@ -122,7 +111,6 @@
-
Credit Card Expiry: @@ -151,11 +139,9 @@
-
-
 
diff --git a/spring-webflow-samples/booking-jsf/src/main/webapp/flow/booking/confirmBooking.xhtml b/spring-webflow-samples/booking-jsf/src/main/webapp/flow/booking/confirmBooking.xhtml index c5077513..b38b971c 100755 --- a/spring-webflow-samples/booking-jsf/src/main/webapp/flow/booking/confirmBooking.xhtml +++ b/spring-webflow-samples/booking-jsf/src/main/webapp/flow/booking/confirmBooking.xhtml @@ -5,11 +5,12 @@ xmlns:f="http://java.sun.com/jsf/core" template="/template.xhtml"> - +

Confirm Hotel Booking

+
@@ -41,7 +42,7 @@ currencySymbol="$"/>
-
+
Check In Date:
@@ -65,6 +66,6 @@
- + diff --git a/spring-webflow-samples/booking-jsf/src/main/webapp/flow/main/main-beans.xml b/spring-webflow-samples/booking-jsf/src/main/webapp/flow/main/main-beans.xml index 9594fb15..c7bcf493 100755 --- a/spring-webflow-samples/booking-jsf/src/main/webapp/flow/main/main-beans.xml +++ b/spring-webflow-samples/booking-jsf/src/main/webapp/flow/main/main-beans.xml @@ -1,7 +1,6 @@