【发布时间】:2014-07-15 13:47:29
【问题描述】:
我想将一个 javascript 对话框集成到 Web 流程的开头,其中选择的选项确定是否将现有对象添加到流程中或新对象。
<on-entry>
<evaluate expression="appService.checkMembershipStatus(memberId)"/>
// this will check if the state is 'RENEW' and return boolean
// If returns true, then show javascript dialog to say "Renew existing?".
//If they select 'Yes', the existing membership is loaded into the flowScope.
//If they select 'No', then a new membership (object) is loaded into the flowscope
// else
// A new memebership (object) is loaded into the flowscope
</on-entry>
<view-state id="begin">
// continue as normal
</view-state>
谢谢
【问题讨论】:
标签: java javascript spring spring-webflow spring-webflow-2