This content has been marked as final.
Show 2 replies
-
1. Re: Navigation rule for a Parameterized method
sanghakanwar Feb 17, 2009 1:25 PM (in response to gerry365)try -
<navigation from-action="#{UserDetails.processUser('SOM')}">
<rule if-outcome="success">
<redirect view-id="/confirmation.xhtml"></redirect>
</rule>
<rule if-outcome="failure">
<redirect view-id="/userDetails.xhtml"></redirect>
</rule>
</navigation> -
2. Re: Navigation rule for a Parameterized method
gerry365 Feb 17, 2009 4:14 PM (in response to gerry365)Thanks. It works, although not as compact as the form I imagined it should have been:
<navigation from-action="#{UserDetails.processUser()}">
<rule if-outcome="success">
<redirect view-id="/confirmation.xhtml"></redirect>
</rule>
<rule if-outcome="failure">
<redirect view-id="/userDetails.xhtml"></redirect>
</rule>
</navigation>