Glassfish V2 (the version that comes with Netbeans 6.0)
I have 2 navigation rules defined in which neither of them have a redirect tag. But despite this, the URL still ends up changing. Here is the sequence of events:
First page opens
Click link in first page
Page changes but URL does not
Click link in second page
Page changes AND URL changes
There after URL changes on each link click
Below is my faces-config.xml:
<faces-config version="1.2"
xmlns="
http://java.sun.com/xml/ns/javaee"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
<navigation-rule>
<from-view-id>/linkDest.jsp</from-view-id>
<navigation-case>
<from-outcome>edit</from-outcome>
<to-view-id>/linkSrc.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/linkSrc.jsp</from-view-id>
<navigation-case>
<from-outcome>link</from-outcome>
<to-view-id>/linkDest.jsp</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>
Thanks in advance for any help,
Kurzweil4
[Message sent by forum member 'kurzweil4' (kurzweil4)]
http://forums.java.net/jive/thread.jspa?messageID=254603