This content has been marked as final.
Show 2 replies
-
1. Re: Redirect after login
danielc.roth Feb 26, 2008 9:51 PM (in response to vinc)Search this forum for 'sendRedirect' and you will get at least one way of doing it.
I guess you could do it with navigation rules in pages.xml, but I haven't tried that myself.
-
2. Re: Redirect after login
nickarls Feb 26, 2008 9:59 PM (in response to vinc)Never tried it myself my the manual has an example of
<navigation from-action="#{documentEditor.update}" evaluate="#{documentEditor.errors.size}"> <rule if-outcome="0"> <redirect view-id="/viewDocument.xhtml"/> </rule> </navigation>
if you change from-action and evaluate to something with s:hasPermission you might be close.