[jboss-user] [JBoss Seam] - possible to specify action in pageflow transition?

mocha do-not-reply at jboss.com
Sat Jul 14 09:22:09 EDT 2007

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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064228#4064228

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064228

More information about the jboss-user mailing list