From faee4486c7812d302d193762c4528761bd65c0ac Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Mon, 28 Apr 2008 21:54:01 +0000 Subject: [PATCH] polish --- spring-webflow-reference/src/portlet.xml | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/spring-webflow-reference/src/portlet.xml b/spring-webflow-reference/src/portlet.xml index 3167c6d8..84fd72b4 100644 --- a/spring-webflow-reference/src/portlet.xml +++ b/spring-webflow-reference/src/portlet.xml @@ -11,7 +11,7 @@ - Configuring web.xml & portlet.xml + Configuring web.xml and portlet.xml The configuration for a portlet depends on the portlet container used. The sample applications, included with Web Flow, are both configured to use Apache Pluto, the JSR-168 reference implementation. @@ -97,7 +97,7 @@ public class ViewFlowHandler extends AbstractFlowHandler { ]]> - Adapter Mappings + Handler Mappings Spring Portlet MVC provides a rich set of methods to map portlet requests. Complete documentation is available in the Spring Reference Documentation. @@ -133,20 +133,6 @@ public class ViewFlowHandler extends AbstractFlowHandler { ]]> - - Redirect on Pause - - In a portlet environemnt, always-redirect-on-pause must be set to false. - If not turned off, the initial view will fail to render. - - - - - - - ]]> - Portlet Views @@ -179,7 +165,7 @@ public class ViewFlowHandler extends AbstractFlowHandler { requestContext.getExternalContext().getRequestMap().get("portletWindowState"); ]]> @@ -193,7 +179,7 @@ ${externalContext.requestMap.portletWindowState} requestContext.getExternalContext().getRequestMap().get("portletMode"); ]]> @@ -211,6 +197,7 @@ ${externalContext.requestMap.portletMode} The portlet container passes the execution key from the previous flow when switching to a new mode. Even if the mode is mapped to a different FlowHandler the flow execution will resume the previous execution. + You may switch the mode programatically when processing a flow event or after ending a flow in an ActionRequest. One way to start a new flow is to create a URL targeting the mode without the execution key.