From 12e5ca2a7739cc8021f8a1d5cd418f631ec69ba7 Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Sun, 1 Apr 2007 16:57:23 +0000 Subject: [PATCH] webflow enabling simplication --- .../fileupload/.springWebflow | 1 + .../itemlist/.springWebflow | 10 +++++---- .../webapp/WEB-INF/itemlist-alternate.xml | 9 ++------ .../main/webapp/WEB-INF/itemlist-servlet.xml | 6 ------ .../itemlist/src/main/webapp/index.jsp | 3 +++ .../phonebook-portlet/.springBeans | 21 ++++++++----------- .../phonebook-portlet/.springWebflow | 17 +++++++++++++++ 7 files changed, 38 insertions(+), 29 deletions(-) create mode 100644 spring-webflow-samples/phonebook-portlet/.springWebflow diff --git a/spring-webflow-samples/fileupload/.springWebflow b/spring-webflow-samples/fileupload/.springWebflow index da38082c..89e80050 100644 --- a/spring-webflow-samples/fileupload/.springWebflow +++ b/spring-webflow-samples/fileupload/.springWebflow @@ -4,6 +4,7 @@ src/main/webapp/WEB-INF/fileupload.xml fileupload + 1:BeansModel|2:swf-fileupload|3:src/main/webapp/WEB-INF/fileupload-servlet.xml diff --git a/spring-webflow-samples/itemlist/.springWebflow b/spring-webflow-samples/itemlist/.springWebflow index 8ae9dc58..9eba5a30 100644 --- a/spring-webflow-samples/itemlist/.springWebflow +++ b/spring-webflow-samples/itemlist/.springWebflow @@ -1,13 +1,15 @@ - - src/main/webapp/WEB-INF/itemlist.xml - itemlist - src/main/webapp/WEB-INF/itemlist-alternate.xml itemlist-alternate + 1:BeansModel|2:swf-itemlist|3:src/main/webapp/WEB-INF/itemlist-servlet.xml + + + src/main/webapp/WEB-INF/itemlist.xml + itemlist + 1:BeansModel|2:swf-itemlist|3:src/main/webapp/WEB-INF/itemlist-servlet.xml diff --git a/spring-webflow-samples/itemlist/src/main/webapp/WEB-INF/itemlist-alternate.xml b/spring-webflow-samples/itemlist/src/main/webapp/WEB-INF/itemlist-alternate.xml index 0b33f67d..3bc29ed3 100644 --- a/spring-webflow-samples/itemlist/src/main/webapp/WEB-INF/itemlist-alternate.xml +++ b/spring-webflow-samples/itemlist/src/main/webapp/WEB-INF/itemlist-alternate.xml @@ -26,17 +26,12 @@ - + - - - - - - + diff --git a/spring-webflow-samples/itemlist/src/main/webapp/WEB-INF/itemlist-servlet.xml b/spring-webflow-samples/itemlist/src/main/webapp/WEB-INF/itemlist-servlet.xml index 9a667594..95040e4f 100644 --- a/spring-webflow-samples/itemlist/src/main/webapp/WEB-INF/itemlist-servlet.xml +++ b/spring-webflow-samples/itemlist/src/main/webapp/WEB-INF/itemlist-servlet.xml @@ -49,10 +49,4 @@ - - - - - - \ No newline at end of file diff --git a/spring-webflow-samples/itemlist/src/main/webapp/index.jsp b/spring-webflow-samples/itemlist/src/main/webapp/index.jsp index ebd01e64..afa0d3fa 100644 --- a/spring-webflow-samples/itemlist/src/main/webapp/index.jsp +++ b/spring-webflow-samples/itemlist/src/main/webapp/index.jsp @@ -11,6 +11,9 @@

Item List

+

+ Item List Alternate (same flow with the 'add item' process modeled as a subflow) +

This Spring web flow sample application illustrates several features:

diff --git a/spring-webflow-samples/phonebook-portlet/.springBeans b/spring-webflow-samples/phonebook-portlet/.springBeans index 427d0a04..2e3cc403 100644 --- a/spring-webflow-samples/phonebook-portlet/.springBeans +++ b/spring-webflow-samples/phonebook-portlet/.springBeans @@ -4,23 +4,18 @@ xml + src/main/webapp/WEB-INF/phonebook-webflow-config.xml + src/main/webapp/WEB-INF/phonebook-portlet-config.xml + src/main/java/org/springframework/webflow/samples/phonebook/stub/services-config.xml src/main/webapp/WEB-INF/flows/search-flow-beans.xml - search-flow + serviceLayer false false - src/main/webapp/WEB-INF/flows/search-flow-beans.xml - - - - service-layer - false - false - - src/main/java/org/springframework/webflow/samples/phonebook/domain/services.xml + src/main/java/org/springframework/webflow/samples/phonebook/stub/services-config.xml @@ -28,8 +23,10 @@ false false - src/main/webapp/WEB-INF/dispatcher-portlet.xml - src/main/webapp/WEB-INF/webflow.xml + src/main/java/org/springframework/webflow/samples/phonebook/stub/services-config.xml + src/main/webapp/WEB-INF/phonebook-portlet-config.xml + src/main/webapp/WEB-INF/phonebook-webflow-config.xml + src/main/webapp/WEB-INF/flows/search-flow-beans.xml diff --git a/spring-webflow-samples/phonebook-portlet/.springWebflow b/spring-webflow-samples/phonebook-portlet/.springWebflow new file mode 100644 index 00000000..0cee5662 --- /dev/null +++ b/spring-webflow-samples/phonebook-portlet/.springWebflow @@ -0,0 +1,17 @@ + + + + + src/main/webapp/WEB-INF/flows/detail-flow.xml + detail-flow + 1:BeansModel|2:swf-phonebook-portlet|3:src/main/webapp/WEB-INF/flows/search-flow-beans.xml + 1:BeansModel|2:swf-phonebook-portlet|3:src/main/java/org/springframework/webflow/samples/phonebook/stub/services-config.xml + + + src/main/webapp/WEB-INF/flows/search-flow.xml + search-flow + 1:BeansModel|2:swf-phonebook-portlet|3:src/main/webapp/WEB-INF/flows/search-flow-beans.xml + 1:BeansModel|2:swf-phonebook-portlet|3:src/main/java/org/springframework/webflow/samples/phonebook/stub/services-config.xml + + +