Try a Tomahawk 1.1.5 (nightly) build. I don't know if it will help, but they are always trying to improve compatibility with the RI. Can't hurt to try it...

NABA wrote:

Hi Jeff
What JAR versions are you using?
Sun RI 1.2
Tomahawk 1.1.3

Otherwise, it depends on the version you are using. Does it work if you use NavigationMenuItems instead of commandNavigation2?
The NavigationMenuItems doesn't  work!!
Error:

/org.apache.jasper.JasperException: Parent was not null, but this component not related org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)/

.........
What can I do??
Is the Navigation Rules in the faces-config.xml related to the panelNavigation??
What I want is to expand and the menu!!
thanks for help

[1] http://www.nabble.com/MyFaces-1377-min-fix-versions--tf2306196.html#a6513844

Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

NABA wrote:
Hi...
I would like use the PanelNavigation2.
I copy from the myfaces-example all what i need (code, bean, bundle).
It dos not working.
I click on the PanelNavigation but the commandNavigation dos not expand.
There is not any error message.
On the same jsp the tree2 component works well.
A part of a jsp:
/<t:div id="subnavigation_outer">
        <t:div id="subnavigation">
            <h:form>
<t:panelNavigation2 id="nav1" layout="list" itemClass="mypage"
                    activeItemClass="selected" openItemClass="selected">
                    <t:commandNavigation2
                        value="#{navigation_messages.panelnav_products}"
                        action="go_panelnavigation_1">
<t:commandNavigation2 action="#{navigationMenu.getAction1}" actionListener="#{navigationMenu.actionListener}">
                            <f:verbatim>&#8250; </f:verbatim>
<t:outputText value="#{navigation_messages['panelnav_serach1']}" />
                        </t:commandNavigation2>
                        <t:commandNavigation2
actionListener="#{navigationMenu.actionListener}">
                            <f:verbatim>&#8250; </f:verbatim>
<t:outputText value="#{navigation_messages['panelnav_serach_acc1']}" />
                        </t:commandNavigation2>/
                         ......

I attach the web.xml to this mail.
can anyone see, where is the error?
or what I didnt attend??

thanks for any help


------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
    <display-name>Test</display-name>

    <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>server</param-value>
    </context-param>
    <context-param>
        <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
        <param-value>true</param-value>
    </context-param>
    <context-param>
        <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
        <param-value>true</param-value>
    </context-param>
    <context-param>
        <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
        <param-value>false</param-value>
    </context-param>
    <context-param>
        <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
        <param-value>true</param-value>
    </context-param>
<!-- E**************************MYFACES-Filter*********************************** -->
    <filter>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <filter-class>
            org.apache.myfaces.webapp.filter.ExtensionsFilter
        </filter-class>
        <init-param>
            <param-name>maxFileSize</param-name>
            <param-value>20 MB</param-value>
        </init-param>
        <init-param>
            <param-name>uploadThresholdSize</param-name>
            <param-value>100k</param-value>
        </init-param>
    </filter>
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
<!-- servlet-name must match the name of your javax.faces.webapp.FacesServlet entry -->
        <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
<!-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.) -->
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
    </filter-mapping>

    <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <servlet>
        <servlet-name>SourceCodeServlet</servlet-name>
        <servlet-class>
org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet
        </servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>SourceCodeServlet</servlet-name>
        <url-pattern>*.source</url-pattern>
    </servlet-mapping>
    <login-config>
        <auth-method>BASIC</auth-method>
    </login-config>
</web-app>









Reply via email to