0 Replies Latest reply on Jul 19, 2009 10:34 AM by Anand Shanwad

    issue in Rendering multiple <tr:commandNavigationItem>

    Anand Shanwad Newbie
      Hi,

      For generating the navigation tree, following is the code i have used

      <tr:navigationTree var="node" id="navMenu" value="#{navMenu.model}" binding="#{navMenu.tree}">
      <f:facet name="nodeStamp">
                 <tr:commandNavigationItem shortDesc="#{node.label}" text="#{node.label}" rendered="#{!node.rendered}"/>
                  <tr:commandNavigationItem shortDesc="#{node.label}" text="#{node.label}" rendered="#{node.rendered}"       actionListener="#{navMenu.actionListener}" action="#{navMenu.action}" />
      </f:facet>
      </tr:navigationTree>

      nav model contains both king of nodes.
      When the tree generates ,the list of first navigation nodes generates.(nodes without action are only rendered)
      But the nodes with action and actionlistener are not rendered.

      I needed to render both kind of nodes.

      Any help?