We can add method for taskflow (methodCall component),say add methodCall in between Page A and Page B.Then you have to add following tag in your taskflow's source
<outcome id="__30">
<fixed-outcome>OutComeFromMethodToPageB</fixed-outcome>
</outcome>
Do methodCall implementation in your bean class and add that class to managedBeans.
see image
sample code stuff
<method-call id="methodCall1">
<method>#{pageFlowScope.TestMethodCall.alterStringVal}</method>
<outcome id="__30">
<fixed-outcome>continue2</fixed-outcome>
</outcome>
</method-call>
No comments:
Post a Comment