Spring Webflow: cannot get flow execution url at action phase of portlet
Posted
by tabdulin
on Stack Overflow
See other posts from Stack Overflow
or by tabdulin
Published on 2010-04-01T03:44:03Z
Indexed on
2010/04/09
9:43 UTC
Read the original article
Hit count: 749
The following exception is thrown:
Caused by: java.lang.IllegalStateException: A flow execution action URL can only be obtained in a RenderRequest using a
RenderResponse
at org.springframework.webflow.context.portlet.PortletExternalContext.getFlowExecutionUrl(PortletExternalContext.java:2
06)
at org.springframework.webflow.engine.impl.RequestControlContextImpl.getFlowExecutionUrl(RequestControlContextImpl.java
:178)
at org.springframework.webflow.mvc.view.AbstractMvcView.render(AbstractMvcView.java:172)
at org.springframework.webflow.engine.ViewState.render(ViewState.java:282)
at org.springframework.webflow.engine.ViewState.refresh(ViewState.java:241)
at org.springframework.webflow.engine.ViewState.resume(ViewState.java:219)
at org.springframework.webflow.engine.Flow.resume(Flow.java:545)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:259)
... 62 more
It seems for me like resuming execution of flow at action phase tries to do render phase's stuff. Any ideas?
© Stack Overflow or respective owner