Then I thought maybe both actions from the same page confused the processor of the
pages.xml. But I also have code like this in the pages.xml, both buttons on the
/register.xhtml worked very well!
| <page view-id="/register.xhtml">
| <navigation from-action="#{userManager.register}">
|
| <redirect view-id="/home.xhtml" />
|
| </navigation>
|
| </page>
|
|
|
| <page view-id="/register.xhtml">
|
| <navigation from-action="#{userManager.cancel}">
|
| <redirect view-id="/home.xhtml" />
|
| </navigation>
|
| </page>
|
both "register" and "cancel" buttons on the register.xhtml did
redirect to /home.xhtml.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061050#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...