3 Replies Latest reply on Aug 9, 2007 7:46 AM by Tomislav Tkal?evi?

    decision and method which accepts params?

    Tomislav Tkal?evi? Novice

       

      <decision name="decision"
      expression="#{bean.method(param)}">
       <transition name="OK" to="good"/>
       <transition name="NOT" to="notgood"/>
      </decision>
      


      Advantage of the pageflows and theirs decisions and transitions is that you can call transitions from pages like an actions.
      Those pages can then be generic and used like templates,included in other pages who call that same transition by same name.Then we in pageflow define what that transition will do later and make it really generic.In my app main disadvantage in all that logic is that I can't use method which accepts some parameters,then all that talk about including generic pages in some other pages is out of plan.
      This would be a very useful to implement such feature.

      Thanks in advance