【发布时间】:2017-05-03 19:58:58
【问题描述】:
我在 spring web-flow 2 中编写了如下流程。但是我收到错误 invalid content。
<on-entry>
<decision-state="check">
<if test="some condition" then="x state" else="y state"/>
</decision-state>
</on-entry>
<view-state id="x state">
<evaluate expression="...."/>
</view-state>
在进入状态下是否可以使用 if 标记? 我们可以在进入时使用决策状态吗?
如果条件为真,我必须在<on-entry> 状态下评估方法。否则,它不应该在<on-entry> 状态下进行评估。
【问题讨论】:
标签: java spring spring-webflow-2