From 2017066b691e32ef002b04209a26cb4ae6748abf Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Mon, 8 Jan 2007 14:24:17 +0000 Subject: [PATCH] Documented and name attribute --- .../engine/builder/xml/spring-webflow-1.0.xsd | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/spring-webflow/src/main/java/org/springframework/webflow/engine/builder/xml/spring-webflow-1.0.xsd b/spring-webflow/src/main/java/org/springframework/webflow/engine/builder/xml/spring-webflow-1.0.xsd index 4f379f97..1d21ab9f 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/engine/builder/xml/spring-webflow-1.0.xsd +++ b/spring-webflow/src/main/java/org/springframework/webflow/engine/builder/xml/spring-webflow-1.0.xsd @@ -1089,20 +1089,20 @@ The expression to evaluate when this action is invoked. This can be used to execute actions in an ordered chain, where the flow responds to the the last action result in the chain:
     <action-state id="setupForm">
-        <action name="setupForm" bean="formAction" method="setupForm"/>
-        <action name="loadReferenceData" bean="formAction" method="loadReferenceData"/>
-        <transition on="loadReferenceData.success" to="displayForm">
+        <evaluate-action name="firstInterviewQuestion" bean="flowScope.interview.firstQuestion()"/>
+        <action name="setupForm" bean="formAction" method="setupForm"/>
+        <transition on="setupForm.success" to="displayForm">
     </action-state>
 
-... will execute 'setupForm' followed by 'loadRefenceData', then transition the flow to -the 'displayForm' state on a successful 'loadReferenceData' invocation. +... will execute 'firstInterviewQuestion' followed by 'setupForm', then transition the flow to +the 'displayForm' state on a successful 'setupForm' invocation.
An action with a name is often referred to as a "named action". ]]> @@ -1199,20 +1199,20 @@ The attribute value expression. This can be used to execute actions in an ordered chain, where the flow responds to the the last action result in the chain:
-    <action-state id="setupForm">
-        <action name="setupForm" bean="formAction" method="setupForm"/>
-        <action name="loadReferenceData" bean="formAction" method="loadReferenceData"/>
-        <transition on="loadReferenceData.success" to="displayForm">
+    <action-state id="processSubmit">
+        <action name="processSubmit" bean="formAction" method="processSubmit"/>
+        <set name="setFormSubmitted" attribute="formSubmitted" value="true"/>
+        <transition on="setFormSubmitted.success" to="thankYou">
     </action-state>
 
-... will execute 'setupForm' followed by 'loadRefenceData', then transition the flow to -the 'displayForm' state on a successful 'loadReferenceData' invocation. +... will execute 'processSubmit' followed by 'setFormSubmitted', then transition the flow to +the 'thankYou' state on a successful 'setFormSubmitted' invocation.
An action with a name is often referred to as a "named action". ]]>