Announcement Announcement Module
No announcement yet.
Dynamic Transition SWF 2.0.9 - Help Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dynamic Transition SWF 2.0.9 - Help

    I have not been able to decifer from the documentation online what I need in order to get this working.

    Spring 2.5.6.SEC02
    SWF 2.0.9

    I am trying to employ a navigation menu which will transition between the different view-states. In some instances I need to perform logic, but if I can just get one transition to work i'd be happy.

    In debugging the code, I noticed that webflow was not returning a transition (null). This causes binding and validation to take place, and in this case is not what I want (see below).

    <view-state ...>
        <transition on="${'menu')}" to="menuDecision" bind="false" validate="false"/>
    <decision-state id="menuDecision">
        <if test="'page1')" then="viewState1"/>

  • #2
    I guess a more concise question would be...

    For SWF 2.0.9 can you have el or ognl statements in the 'on' attribute of a transition? After debugging into the SWF, I found that the expression was an OgnlExpression but it will just return the string value of "'menu')". This leads me to believe the answer is no.