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 806d31aa..81ee3ba1 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 @@ -416,15 +416,28 @@ Can also be an evaluatable expression:
${flowScope.myViewExpression}
-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:
+The externalRedirect: prefix may be used to redirect to an external location, typically to interface with an external system or controller.
+External redirect query parameters may be specified using ${expressions} that evaluate against the request context.
+The supported formats for an encoded externalRedirect expression are:
- externalRedirect:/http://someOtherSystem?orderId=${flowScope.order.id}&callbackUrl=${flowExecutionUrl}
-
-Use the flowRedirect: prefix to redirect to another flow:
+ externalRedirect:
+ externalRedirect:/hotels/index
+ externalRedirect:url:http://someOtherSystem?orderId=${order.id}&callbackUrl=${flowExecutionUrl}
+
+The flowRedirect: prefix may be used to redirect to another flow:
flowRedirect:myOtherFlow?someData=${flowScope.data}
+For exotic usages, you may plug in a custom ViewFactory bean you define:
+
+ ${myCustomViewFactory}
+
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.
]]>
@@ -882,11 +895,21 @@ It can also be an evaluatable expression:
${flowScope.myViewExpression}
-Use the externalRedirect: prefix to redirect to an external URL:
+The externalRedirect: prefix may be used to request a redirect to an external location, typically to interface with an external system or controller.
+External redirect query parameters may be specified using ${expressions} that evaluate against the request context.
+The supported formats for an encoded externalRedirect expression are:
- externalRedirect:/someController?orderId=${order.id}
-
-Use the flowRedirect: prefix to redirect to another flow:
+ externalRedirect:
+ externalRedirect:/hotels/index
+ externalRedirect:url:http://someOtherSystem?orderId=${order.id}
+
+The flowRedirect: prefix may be used to redirect to another flow:
flowRedirect:myOtherFlow?someData=${flowScope.data}
@@ -895,8 +918,8 @@ For exotic usages, you may plug in a custom ViewFactory bean you define:
${myCustomViewFactory}