glassfish_at_javadesktop.org wrote:
> I want to use a navigation case such as
>
> <navigation-rule>
> <from-view-id>/Page1.jsp</from-view-id>
> <navigation-case>
> <from-outcome>toPage2</from-outcome>
> <to-view-id>/Page2.jsp</to-view-id>
> [b]<redirect/>[/b]
> </navigation-case>
> </navigation-rule>
>
> If cookies are enabled, everything works fine. The session is preserved. If cookies are disabled in the browser, the session get lost (no jsessionid appended). State preservation for JSF is on default settings.
> What can I do to enable url rewriting for such a redirect? Shouldn't this be done by the faces servlet. Perhaps it is a bug?
> I need this redirect for authorization purposes within Acegi.
> Can anybody give a clarification?
>
This looks like:
https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=413,
which was fixed in 1.2_03. You can download an updater [1] that will
upgrade
JSF within your existing GlassFish installation if you wish to leverage
the new version.
[1]
https://javaserverfaces.dev.java.net/servlets/ProjectDocumentList?folderID=6481&expandFolder=6481&folderID=5220
> Greetings,
> jiai
>
> JavaServer Faces implementation (1.2_02-b03-FCS)
> Sun Java System Application Server Platform Edition 9.0_01 (build )
> [Message sent by forum member 'jiai' (jiai)]
>
> http://forums.java.net/jive/thread.jspa?messageID=203845
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>