6 Replies Latest reply on Jul 14, 2007 7:57 PM by Duncan Stockdill

    possible to specify action in pageflow transition?

    Duncan Stockdill Newbie

      Is it possible to specify a bean action in a pageflow transition (in the same way that this can be done using <from-action> in a pages.xml navigation case)? I have tried it as follows but it doesn't seem to work...

       <page name="history" view-id="/history.xhtml">
       <redirect/>
       <transition name="#{historyController.selectHistoryItem(item)}" to="historyitem"/>
       ....
       </page>
      
       <page name="historyitem" view-id="/historyitem.xhtml">
       ....
       </page>
      


       <h:dataTable value="#{selectedContact.history}" var="item">
       <h:column>
       <s:link action="#{historyController.selectHistoryItem(item)}" value="#{item.note}"/>
       </h:column>
       </h:dataTable>
      


      Basically I want to implement a master-detail pattern within a pageflow. Is there another way to do this?