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.
- <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.