webtier@glassfish.java.net

Re: Problem loading Faces js libraries in Firefox

From: <forums_at_java.net>
Date: Fri, 17 Feb 2012 06:51:49 -0600 (CST)

Hello gubaojian, thanks for responding:

Don't know how to do your method, considering JSF is internally managing
every single request, I don't know where can I check for current
HttpServletRequest...

My faces-navigation.xml file looks like this, I don't know if this can be
the source of the problem...

<?xml version="1.0"?>
<faces-config 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_2_0.xsd"
    version="2.0">
    <navigation-rule>
        <from-view-id>*</from-view-id>
        <navigation-case>
            <description>
            </description>
            <from-outcome>home</from-outcome>
            <to-view-id>/login.xhtml</to-view-id>
        </navigation-case>
        <navigation-case>
            <description>
            </description>
            <from-outcome>success</from-outcome>
            <to-view-id>/general2.xhtml</to-view-id>
        </navigation-case>
    </navigation-rule>
    <navigation-rule>
        <from-view-id>/login.xhtml</from-view-id>
        <navigation-case>
            <description>
            </description>
            <from-outcome>success</from-outcome>
            <to-view-id>/general2.xhtml</to-view-id>
        </navigation-case>
        <navigation-case>
            <description>
            </description>
            <from-outcome>retry</from-outcome>
            <to-view-id>/login.xhtml</to-view-id>
        </navigation-case>
    </navigation-rule>

...

I have tried dozens of options, changing Maven imported libraries and
XHTML tags, but everything seems to be like at the beginning :-(

 


--
[Message sent by forum member 'napartar']
View Post: http://forums.java.net/node/883606