Spring Webflow:无法在portlet的动作阶段获取流执行URL

时间:2010-04-01 03:44:03

标签: java portlet spring-webflow

抛出以下异常:

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

对我而言,似乎在行动阶段恢复执行流程会尝试执行渲染阶段的操作。有什么想法吗?

1 个答案:

答案 0 :(得分:0)

由于语法错误,错误是未在请求中提供事件ID。