比如,当Task Flow A 调用Task Flow B时,传递参数selectCountryName到B中:
1.定义Task FlowB 的Input Parameter
2.在Task FlowA 中<task-flow-call>中加入
<task-flow-call id="flowB">
<task-flow-reference>
<document>/WEB-INF/flowB.xml</document>
<id>flowB</id>
</task-flow-reference>
<input-parameter id="__9">
<name>selectedCountryName</name>
<value>#{viewScope.PageABean.selectedCountry}</value>
<pass-by-value/>
</input-parameter>
</task-flow-call>
实现了传值