All,

I've created a TreeModel and successfully rendered it on the browser, however, when I click on the expand/collapse button, it's not working.

Apparently, in the HTML page generated, _javascript_ function "treeNavClick" was not generated, is there any tag/attribute i need to add to the Tree2 component?

Hers is my Jsp:

<f:view>
<t:tree2 id="myTree" showNav="true" rendered="#{LovBackingBean.lovTree!=null}"
showRootNode="false" var="node" value="#{LovBackingBean.lovTree}"
varNodeToggler="t">
    <f:facet name="rootNode">
      <h:panelGroup>
       
        <h:outputText value="#{node.description}"/>
      </h:panelGroup>
   </f:facet>
   <f:facet name="topNode">
      <h:panelGroup>
       
        <h:outputText value="#{node.description}"/>
      </h:panelGroup>
   </f:facet>
   <f:facet name="childNode">
      <h:panelGroup>
       
        <h:outputText value="#{node.description}"/>
      </h:panelGroup>
   </f:facet>
</t:tree2>
</f:view>

Reply via email to