I have the following in my pages.xml. The issue comes in that the method on
the bean gets called (which requires all the injections to take place) way
before we actually get to the navigation part.
| <page view-id="/public/content/view/viewContent.xhtml"
| no-conversation-view-id="/public/content/view/viewServicesHome.xhtml">
| <navigation
| from-action="#{contentManagementBean.editContent}">
| <rule if-outcome="edit">
| <redirect
| view-id="/secure/content/management/editContent.xhtml">
| </redirect>
| </rule>
| </navigation>
| .
| .
| .
| .
| </page>
|
| <page view-id="/secure/content/management/editContent.xhtml"
| conversation-required="true"
| no-conversation-view-id="/public/content/view/viewServicesHome.xhtml">
| .
| .
| .
|
|
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076814#4076814
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076814
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user