[jboss-user] [JBoss Seam] - Re: Conversation management in a desktop-like applikation
jbuechel
do-not-reply at jboss.com
Tue Oct 9 07:09:36 EDT 2007
@swd847:
Thanks, anyway this sounds better than the current solution.
@Pete:
Thanks, that was exactly what i was looking for. I didn't even know that's possible!
For those who are interested and happy about a code snippet:
menuItems.xhtml
<rich:menuItem value="#{messages.menu_manage_persons}"
| action="manage_persons"
| rendered="#{s:hasRole('manage_persons')}" />
|
pages.xml
<page view-id="/*" login-required="true">
| <navigation>
| ...
| <rule if-outcome="manage_persons">
| <end-conversation />
| <redirect view-id="/modules/manageCatalogs/persons/main.xhtml" />
| </rule>
| ...
| </navigation>
| </page>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092952#4092952
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092952
More information about the jboss-user
mailing list