Spring WebFlow - autodetect imported Spring beans
I have a project based on Spring WebFlow 1.0 configured like this:
<flow xmlns="http://www.springframework.org/schema/webflow"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/webflow http://www.springframework.org/schema/webflow/spring-webflow-1.0.xsd">
<start-state idref="myStartScreen"/>
<view-state id="myStartScreen" view="sandbox.start-screen">
<transition on="continue" to="someAction"/>
</view-state>
<action-state id="someAction">
<bean-action bean="myTestAction" method="getInfo">
<method-arguments>
<argument expression="flowScope.idNumber" />
</method-arguments>
</bean-action>
<transition on="success" to="myResultScreen" />
</action-state>
<view-state id="myResultScreen" view="sandbox.result-screen">
<transition on="continue" to="myStartScreen"/>
</view-state>
<import resource="my-flow-beans.xml" />
</flow>
Why IDEA does not autodetect imported "flow" Spring beans?
请先登录再写评论。