From 8fd993e384a73842429b4bd08beb448d57cfed36 Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Wed, 27 Feb 2008 19:41:01 +0000 Subject: [PATCH] polish --- .../samples/booking/SearchCriteria.java | 2 +- .../booking/{booking-flow.xml => booking.xml} | 27 +++---- ...ngForm.xhtml => enterBookingDetails.xhtml} | 0 ...nfirmBooking.xhtml => reviewBooking.xhtml} | 0 .../{main.xhtml => enterSearchCriteria.xhtml} | 0 .../webapp/WEB-INF/flows/main/main-flow.xml | 78 ------------------- .../main/webapp/WEB-INF/flows/main/main.xml | 60 ++++++++++++++ .../{hotelDetails.xhtml => reviewHotel.xhtml} | 0 ...displayHotels.xhtml => reviewHotels.xhtml} | 0 .../webapp/WEB-INF/web-application-config.xml | 2 +- 10 files changed, 73 insertions(+), 96 deletions(-) rename spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/booking/{booking-flow.xml => booking.xml} (56%) rename spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/booking/{bookingForm.xhtml => enterBookingDetails.xhtml} (100%) mode change 100755 => 100644 rename spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/booking/{confirmBooking.xhtml => reviewBooking.xhtml} (100%) rename spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/{main.xhtml => enterSearchCriteria.xhtml} (100%) mode change 100755 => 100644 delete mode 100755 spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/main-flow.xml create mode 100755 spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/main.xml rename spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/{hotelDetails.xhtml => reviewHotel.xhtml} (100%) mode change 100755 => 100644 rename spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/{displayHotels.xhtml => reviewHotels.xhtml} (100%) diff --git a/spring-webflow-samples/booking-faces/src/main/java/org/springframework/webflow/samples/booking/SearchCriteria.java b/spring-webflow-samples/booking-faces/src/main/java/org/springframework/webflow/samples/booking/SearchCriteria.java index 244447a8..cb325c9a 100755 --- a/spring-webflow-samples/booking-faces/src/main/java/org/springframework/webflow/samples/booking/SearchCriteria.java +++ b/spring-webflow-samples/booking-faces/src/main/java/org/springframework/webflow/samples/booking/SearchCriteria.java @@ -58,7 +58,7 @@ public class SearchCriteria implements Serializable { /** * Decrease the current page */ - public void prevPage() { + public void previousPage() { page--; } diff --git a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/booking/booking-flow.xml b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/booking/booking.xml similarity index 56% rename from spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/booking/booking-flow.xml rename to spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/booking/booking.xml index dce6e176..b6ddd147 100755 --- a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/booking/booking-flow.xml +++ b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/booking/booking.xml @@ -2,39 +2,34 @@ + http://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd" start-state="enterBookingDetails"> - - + - - - - + + - - + + - + - - - - - - + + + + \ No newline at end of file diff --git a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/booking/bookingForm.xhtml b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/booking/enterBookingDetails.xhtml old mode 100755 new mode 100644 similarity index 100% rename from spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/booking/bookingForm.xhtml rename to spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/booking/enterBookingDetails.xhtml diff --git a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/booking/confirmBooking.xhtml b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/booking/reviewBooking.xhtml similarity index 100% rename from spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/booking/confirmBooking.xhtml rename to spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/booking/reviewBooking.xhtml diff --git a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/main.xhtml b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/enterSearchCriteria.xhtml old mode 100755 new mode 100644 similarity index 100% rename from spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/main.xhtml rename to spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/enterSearchCriteria.xhtml diff --git a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/main-flow.xml b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/main-flow.xml deleted file mode 100755 index e6956c78..00000000 --- a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/main-flow.xml +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/main.xml b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/main.xml new file mode 100755 index 00000000..2b76e74c --- /dev/null +++ b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/main.xml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/hotelDetails.xhtml b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/reviewHotel.xhtml old mode 100755 new mode 100644 similarity index 100% rename from spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/hotelDetails.xhtml rename to spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/reviewHotel.xhtml diff --git a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/displayHotels.xhtml b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/reviewHotels.xhtml similarity index 100% rename from spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/displayHotels.xhtml rename to spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/flows/main/reviewHotels.xhtml diff --git a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/web-application-config.xml b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/web-application-config.xml index c0ac8604..16fe6e90 100755 --- a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/web-application-config.xml +++ b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/web-application-config.xml @@ -40,7 +40,7 @@ - +