>>>>> On Mon, 26 May 2014 12:14:18 +0000 (UTC), <useyour.mind_at_gmail.com> said:
UM> (I've posted this too @stackoverflow:
UM>
http://stackoverflow.com/q/23776638/1099452)
UM> I've been using JSF 2.1 with mojarra-2.1.20, and I've configured in my
UM> faces-config.xml a navigation case like this:
UM> <navigation-rule>
UM> <from-view-id>/loggedOut.xhtml</from-view-id>
UM> <navigation-case>
UM> <from-action>#{sessionManager.isLoggedIn}</from-action>
UM> <from-outcome>true</from-outcome>
UM> <to-view-id>/login.xhtml</to-view-id>
UM> <redirect />
UM> </navigation-case>
UM> </navigation-rule>
Hello, thanks for reporting this.
I'm trying to reproduce it and have not been able to. Please find
attached a simple maven pom project that I build following your sketch.
Can you please try it in your environment and see if it shows the
problem? It does not show the problem in my environment.
I tried the attached with both Mojarra 2.2.6 and 2.2.7-SNAPSHOT by
visiting
<
http://localhost:8080/test-agnostic-navigation-explicit/faces/loggedOut.xhtml>,
which has the <f:viewAction> that invokes your <navigation-rule> and in
both cases it successfully redirects to /login.xhtml.
Perhaps I'm missing something.
Please try the attached.
Thanks,
Ed
--
| edward.burns_at_oracle.com | office: +1 407 458 0017