每当我将子流添加到流xml
时,我都会收到以下错误org.springframework.webflow.definition.registry.NoSuchFlowDefinitionException:找不到流量定义'INFMarshallPost'
我在webflow-config.xml
<!-- The registry of executable flow definitions -->
<webflow:flow-registry id="flowRegistry"
flow-builder-services="facesFlowBuilderServices" base-path="/WEB-INF/flows">
<webflow:flow-location-pattern value="/**/*-flow.xml" />
</webflow:flow-registry>
我有一个名为search-flow.xml
的流程,我在其中调用另一个名为INFMarshallPost-flow.xml
的子流程
<action-state id="validateRequest">
<evaluate expression="xmlReader.validateBean(acordRequest,
'AccountSearch')"
result="flowScope.validatorResponse">
<attribute name="name" value="evaluation1" />
</evaluate>
<transition on="evaluation1.true" to="actions1" />
<transition on="evaluation1.false" to="searchAccIns" />
</action-state>
<subflow-state id="actions1" subflow="INFMarshallPost">
<input name="acordreqXml" value="acordRequest" type="java.lang.Object" />
<transition on="finish" to="retrieveAccInsList" />
</subflow-state>
在WEB-INF
文件夹下,我有flows
个文件夹。在flows
内,有两个文件夹
即AccountSearch
(包含search-flow.xml
)和INFFlow
(包含INFMarshallPost-flow.xml
)。