Maybe I am confusing some issues, but I often have this scenario:
a pageflow with branches, where users can create things that should be 
available for selection within the pageflow, but it should still be possible to 
cancel the whole thing or submit at the end.
The pageflow exercises the methods of many beans and a central way to manage 
the transaction behavior would be nice, so I would not have to annotate all the 
beans/methods - or if their behavior should be different in a different context 
(i.e. no or different pageflow).

thank you very much
ido


  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <pageflow-definition
  |   name="bookFlow">
  |    <start-state name="start" transaction="FlushMode.NEVER">
  |       <transition name="start" to="chooseBook" 
transaction="begin"></transition>
  |    </start-state>
  |    <page name="chooseBook">
  |       <transition name="createBook" to="createBook"></transition>
  |       <transition name="submit" to="submit"></transition>
  |       <transition name="cancel" to="cancel"></transition>
  |    </page>
  |    <page name="createBook">
  |       <transition name="submit" to="submitBook"></transition>
  |       <transition name="cancel" to="chooseBook"></transition>
  |    </page>
  |    <page name="submitBook">
  |       <transition name="" to="chooseBook"></transition>
  |       <transition name="cancel" to="chooseBook"></transition>
  |       <transition name="submitted" to="chooseBook"></transition>
  |    </page>
  |    <page name="submit">
  |       <transition name="cancel" to="cancel"></transition>
  |       <transition name="submit" to="submitted"></transition>
  |    </page>
  |    <page name="cancel" transaction="rollback"><end-conversation/></page>
  |    <page name="submitted" transaction="commit"><end-conversation/></page>
  | </pageflow-definition>
  | 

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

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


_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to