myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zeeshan Ghalib" <>
Subject JavaScript Error with Tree2: NAV_COMMAND is null or not an object
Date Mon, 19 Dec 2005 18:23:52 GMT
Hello all,
I am getting the following JavaScript error when I click on the + image to
expand the root node:  
'serverTree:org.apache.myfaces.tree.NAV_COMMAND' is null or not an object
Following is my jsp code
<h:form id="foo">
    <t:tree2 id="serverTree" value="#{productBrowser.treeData}" var="node"
varNodeToggler="t" clientSideToggle="false">
        <f:facet name="productsRoot">
                <t:graphicImage value="images/yellow-folder-open.png"
rendered="#{t.nodeExpanded}" border="0"/>
                <t:graphicImage value="images/yellow-folder-closed.png"
rendered="#{!t.nodeExpanded}" border="0"/>
                <h:outputText value="#{node.description}"
                <h:outputText value=" (#{node.childCount})"
styleClass="childCount" rendered="#{!empty node.children}"/>

I looked at the source code of and NAV_COMMAND is
defined as follows:
private static final String NAV_COMMAND =
I looked in the myfaces.jar and did not find anything inside this path.
What am I missing?
Thanks in advance.

View raw message