users@glassfish.java.net

JSF, navigation case, redirect, url rewriting

From: <glassfish_at_javadesktop.org>
Date: Thu, 15 Feb 2007 01:23:49 PST

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?

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