I am using seam 1.20. I have a problem starting a pageflow:
If I use the pageflow property of the @Begin annotation the pageflow will not start and
subsequently will not move from the first page. e.g:
| Pageflow
| <pageflow-definition name="linkCorrespondence">
| <start-page name="upload"
view-id="/secure/document/linkCorrespondenceWfUpload.xhtml">
| <transition name="next"
to="entity"></transition>
| </start-page>
|
|
| @Create
@Begin(flushMode=FlushModeType.MANUAL,pageflow="linkCorrespondence")
| public void create() {
| }
However the following code does work when using the depreciated function:
| @Create
@Begin(flushMode=FlushModeType.MANUAL,pageflow="linkCorrespondence")
| public void create() {
| Conversation.instance().beginPageflow("linkCorrespondence");
| }
|
The pageflow does work if I use <begin-conversation> element in the pages.xml:
| <page
view-id="/secure/document/linkCorrespondenceWfUpload.xhtml">
| <begin-conversation pageflow="linkCorrespondence"
join="true" flush-mode="MANUAL"/>
| <description>Link new correspondence</description>
| </page>
|
However the conversation must specify join="true". If it does not and the page
refreshes or submits then a new conversation is started which produces an error. I also
notice that if the conversation is started using <begin-conversation> that the
conversation description is not shown in the conversationList or on the debug.seam page.
Is this a consequence of specifying join=true?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030896#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...