From ec18824716f32ce7f48df400fbb120746381f3de Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Mon, 28 Jul 2008 20:40:03 +0000 Subject: [PATCH] action examples --- .../src/defining-flows.xml | 10 +++++-- spring-webflow-reference/src/el.xml | 1 + spring-webflow-reference/src/overview.xml | 28 +++++++++---------- .../src/spring-webflow-reference.xml | 21 +++----------- 4 files changed, 25 insertions(+), 35 deletions(-) diff --git a/spring-webflow-reference/src/defining-flows.xml b/spring-webflow-reference/src/defining-flows.xml index d8ffab55..f76c422b 100644 --- a/spring-webflow-reference/src/defining-flows.xml +++ b/spring-webflow-reference/src/defining-flows.xml @@ -239,7 +239,7 @@ This flow now creates a Booking object in flow scope when it starts. The id of the hotel to book is obtained from a flow input attribute. - + Input/Output Mapping @@ -273,6 +273,7 @@ public interface FlowOutcome { For example, the input above would be saved under the name hotelId. + Declaring an input type Use the type attribute to declare the input attribute's type: @@ -284,6 +285,7 @@ public interface FlowOutcome { + Assigning an input value Use the value attribute to specify an expression to assign the input value to: @@ -295,6 +297,7 @@ public interface FlowOutcome { + Marking a input as required Use the required attribute to enforce the input is not null or empty: @@ -319,6 +322,7 @@ public interface FlowOutcome { For example, the output above would be assigned the value of the bookingId variable. + Specifying the source of an output value Use the value attribute to denote a specific output value expression: @@ -469,13 +473,13 @@ public interface FlowOutcome { - + - + diff --git a/spring-webflow-reference/src/el.xml b/spring-webflow-reference/src/el.xml index 84c2b1c6..a3869dea 100644 --- a/spring-webflow-reference/src/el.xml +++ b/spring-webflow-reference/src/el.xml @@ -16,6 +16,7 @@ Web Flow attempts to use the Unified EL by default. jboss-el is currently the default EL implementation. When found in your classpath along with the el-api, it will be used automatically. + You can find the JBoss EL jar in the SpringSource Bundle Repository. The el-api dependency is typically provided by your web container. Tomcat 6 includes it, for example. diff --git a/spring-webflow-reference/src/overview.xml b/spring-webflow-reference/src/overview.xml index bff8e656..aa172344 100644 --- a/spring-webflow-reference/src/overview.xml +++ b/spring-webflow-reference/src/overview.xml @@ -60,7 +60,7 @@ How to obtain Web Flow artifacts from the SpringSource Bundle Repository - Each jar in the Web Flow distribution is available in the SpringSource Enterprise Bundle Repository for use in an OSGi environment. + Each jar in the Web Flow distribution is available in the SpringSource Enterprise Bundle Repository. These jars may be accessed using Maven or Ivy dependency managers. @@ -88,19 +88,19 @@ org.springframework.webflow org.springframework.binding - 2.0.2.RELEASE + 2.0.3.RELEASE org.springframework.webflow org.springframework.js - 2.0.2.RELEASE + 2.0.3.RELEASE org.springframework.webflow org.springframework.webflow - 2.0.2.RELEASE + 2.0.3.RELEASE ]]> @@ -111,7 +111,7 @@ org.springframework.webflow org.springframework.faces - 2.0.2.RELEASE + 2.0.3.RELEASE ]]> @@ -141,11 +141,11 @@ runtime" /> + rev="2.0.3.RELEASE" conf="compile->runtime" /> + rev="2.0.3.RELEASE" conf="compile->runtime" /> + rev="2.0.3.RELEASE" conf="compile->runtime" /> ]]> @@ -153,7 +153,7 @@ runtime" /> + rev="2.0.3.RELEASE" conf="compile->runtime" /> ]]> @@ -162,8 +162,6 @@ How to obtain Web Flow artifacts from Maven Central Each jar in the Web Flow distribution is also available in the Maven Central Repository. - The large majority of artifacts retrieved from this repository are not OSGi bundles. - If you wish to run your Web Flows in an OSGi environment, you are encouraged to use the SpringSource Bundle Repository. To access Web Flow jars from Maven Central, declare the following dependencies in your pom: @@ -172,19 +170,19 @@ org.springframework.webflow org.springframework.binding - 2.0.2.RELEASE + 2.0.3.RELEASE org.springframework.webflow org.springframework.js - 2.0.2.RELEASE + 2.0.3.RELEASE org.springframework.webflow org.springframework.webflow - 2.0.2.RELEASE + 2.0.3.RELEASE ]]> @@ -195,7 +193,7 @@ org.springframework.webflow org.springframework.faces - 2.0.2.RELEASE + 2.0.3.RELEASE ]]> diff --git a/spring-webflow-reference/src/spring-webflow-reference.xml b/spring-webflow-reference/src/spring-webflow-reference.xml index a76c3b76..7619de6a 100644 --- a/spring-webflow-reference/src/spring-webflow-reference.xml +++ b/spring-webflow-reference/src/spring-webflow-reference.xml @@ -6,6 +6,7 @@ + @@ -23,43 +24,28 @@ Spring Web Flow 2 Reference Guide Reference Documentation - Version 2.0.2 - June 2008 + Version 2.0.3 + July 2008 Keith Donald - - SpringSource - Erwin Vervaet - - Ervacon - Jeremy Grelle - - SpringSource - Scott Andrews - - SpringSource - Rossen Stoyanchev - - SpringSource - @@ -79,6 +65,7 @@ &defining-flows; ⪙ &views; + &actions; &flow-managed-persistence; &flow-security; &flow-inheritance;