Now it works :-)
Old pages.xml (OK for 1.1.5 and not OK for 1.2.0):
| <!DOCTYPE pages PUBLIC "-//JBoss/Seam Pages Configuration DTD 1.1//EN"
"http://jboss.com/products/seam/pages-1.1.dtd">
|
| <pages>
| <page view-id="/xhtml/account/create/agreement.jspx"
action="#{accountBean.begin}"/>
| <page view-id="/xhtml/account/create/create.jspx"
action="#{accountBean.validatePageRequest}"/>
| <page view-id="/xhtml/account/create/welcome.jspx"
action="#{accountBean.validatePageRequest}"/>
| </pages>
|
New pages.xml (OK for 1.2.0. Havn't tried it for 1.1.5):
| <!DOCTYPE pages PUBLIC "-//JBoss/Seam Pages Configuration DTD 1.1//EN"
"http://jboss.com/products/seam/pages-1.1.dtd">
|
| <pages>
| <page view-id="/xhtml/account/create/create.jspx"
action="#{accountBean.validatePageRequest}"/>
| <page view-id="/xhtml/account/create/welcome.jspx"
action="#{accountBean.validatePageRequest}"/>
| </pages>
|
For 1.2.0
| <page view-id="/xhtml/account/create/agreement.jspx"
action="#{accountBean.begin}"/>
|
triggers a new conversation id for each request in the same conversation.
As mentioned earlier maybe it's not the correct way I have used page actions, but
it's difficult to know, because it works just fine for 1.1.5 and not for 1.2.0 - maybe
it have been a bug for Seam versions <1.1.5 (1.1.6) and the bug have been fixed for
1.2.0 or this is a new bug in 1.2.0?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025019#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...