diff --git a/spring-webflow/src/main/java/org/springframework/webflow/engine/model/builder/xml/spring-webflow-2.0.xsd b/spring-webflow/src/main/java/org/springframework/webflow/engine/model/builder/xml/spring-webflow-2.0.xsd index d23f6993..c8d24074 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/engine/model/builder/xml/spring-webflow-2.0.xsd +++ b/spring-webflow/src/main/java/org/springframework/webflow/engine/model/builder/xml/spring-webflow-2.0.xsd @@ -447,11 +447,11 @@ Can also be an evaluatable expression: Use the externalRedirect: prefix to redirect to an external URL, typically to interface with an external system. External redirect query parameters may be specified using ${expressions} that evaluate against the request context:
- externalRedirect:/http://someOtherSystem?orderId=${flowScope.order.id}&callbackUrl=#{flowExecutionUrl}
+ externalRedirect:/http://someOtherSystem?orderId=${flowScope.order.id}&callbackUrl=${flowExecutionUrl}
Use the flowRedirect: prefix to redirect to another flow:
- flowRedirect:myOtherFlow?someData=#{flowScope.data}
+ flowRedirect:myOtherFlow?someData=${flowScope.data}
When this attribute is not specified, the view to render will be determined by convention.
The default convention is to treat the id of this view state as the view identifier.
@@ -504,7 +504,7 @@ Examples:
A simple boolean expression test, using the convenient 'if' element:
<decision-state id="requiresShipping">
- <if test="#{sale.requiresShipping}" then="enterShippingDetails" else="processSale"/>
+ <if test="sale.requiresShipping" then="enterShippingDetails" else="processSale"/>
</decision-state>
]]>
@@ -551,7 +551,7 @@ Optionally, this element may define an 'else' attribute to define a state to tra
- <if test="#{criteria}" then="trueStateId" else="falseStateId"/>
+ <if test="criteriaExpression" then="trueStateId" else="falseStateId"/>
]]>
@@ -564,7 +564,7 @@ The form is:
The boolean expression to test.
For example:
- <if test="#{sale.requiresShipping} then="enterShippingDetails"/>
+ <if test="sale.requiresShipping" then="enterShippingDetails"/>
]]>
@@ -834,19 +834,19 @@ When specified, the value can be a flow-relative path to a view template:
It can also be an evaluatable expression:
- #{flowScope.myViewExpression}
+ ${flowScope.myViewExpression}
Use the externalRedirect: prefix to redirect to an external URL:
- externalRedirect:/someController?orderId=#{order.id}
+ externalRedirect:/someController?orderId=${order.id}
Use the flowRedirect: prefix to redirect to another flow:
- flowRedirect:myOtherFlow?someData=#{flowScope.data}
+ flowRedirect:myOtherFlow?someData=${flowScope.data}
For exotic usages, you may plug in a custom ViewFactory bean you define:
- #{myCustomViewFactory}
+ ${myCustomViewFactory}
- <transition on="#{event == 'submit' &;amp;& flowScope.attribute == 'foo'}" to="state"/>
+ <transition on="${event == 'submit' &;amp;& flowScope.attribute == 'foo'}" to="state"/>
]]>