From 52f9a4a056374f0cf52148f53c605959cf7bef1e Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Wed, 11 Apr 2007 01:37:49 +0000 Subject: [PATCH] swf 236 --- .../executor/mvc/PortletFlowController.java | 61 +++++++++++-------- 1 file changed, 35 insertions(+), 26 deletions(-) diff --git a/spring-webflow/src/main/java/org/springframework/webflow/executor/mvc/PortletFlowController.java b/spring-webflow/src/main/java/org/springframework/webflow/executor/mvc/PortletFlowController.java index fc41b3b6..751af240 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/executor/mvc/PortletFlowController.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/executor/mvc/PortletFlowController.java @@ -16,6 +16,7 @@ package org.springframework.webflow.executor.mvc; import java.util.HashMap; +import java.util.Iterator; import java.util.Map; import javax.portlet.ActionRequest; @@ -45,23 +46,23 @@ import org.springframework.webflow.executor.support.ResponseInstructionHandler; * Point of integration between Spring Portlet MVC and Spring Web Flow: a {@link Controller} that routes incoming * portlet requests to one or more managed flow executions. *

- * Requests into the web flow system are handled by a {@link FlowExecutor}, which this class delegates to. Consult - * the JavaDoc of that class for more information on how requests are processed. + * Requests into the web flow system are handled by a {@link FlowExecutor}, which this class delegates to. Consult the + * JavaDoc of that class for more information on how requests are processed. *

* Note: a single PortletFlowController may execute all flows within your application. See the - * phonebook-portlet sample application for examples of the various strategies for launching and - * resuming flow executions in a Portlet environment. + * phonebook-portlet sample application for examples of the various strategies for launching and resuming + * flow executions in a Portlet environment. *

- * It is also possible to customize the {@link FlowExecutorArgumentHandler} strategy to allow for different types - * of controller parameterization, for example perhaps in conjunction with a REST-style request mapper. + * It is also possible to customize the {@link FlowExecutorArgumentHandler} strategy to allow for different types of + * controller parameterization, for example perhaps in conjunction with a REST-style request mapper. *

* Integrating Spring Web Flow into a Portlet environment puts some minor contraints on your flows. These constraints * result from technical limitations in the Portlet API, for instance the fact that a render request cannot issue a * redirect. Keep the following in mind when developing Portlets using Spring Web Flow: *