I have a global-transition declared and I would like the value of the "validate" attribute to be conditionned or set in an action-state. Here is how I would like to do it :
<decision-state id="decision_view">
<if test="condition == true" then="actionState1" />
</decision-state>
<action-state id="actionState1">
<evaluate result="flowScope.validateGT1" expression="true"/>
</action-state>
<global-transitions>
<transition on="gtransition1" to="gtransition1"
validate="flowScope.validateGT1" /> // Does not work, syntax error
</global-transitions>
This syntax does not work at all. Is there a way to determine the validate boolean dynamically ? The project I am working on is using a 2.3.1 version of Spring webflow.
Thanks.
validate="${flowScope.validateGT1}"
– Nikhil Talreja