0 Replies Latest reply on Aug 18, 2014 6:57 AM by Priyanka Thakur

    how can i render the tree in expanded form very first time?

    Priyanka Thakur Newbie

      hi,

       

      I am new to rich faces and facing a problem while rendering a tree.

       

      I have a treeNode of rich faces TreeNode. This tree has some children and children can have further children.

       

      I have  a bean for the xhtml page.

       

      In the xhtml page i 'm trying to display the complete expanded tree using :

       

      <rich:tree switchType="client" adviseNodeOpened="#{CMBrowserBean.adviseNodeOpened}" value="#{CMBrowserBean.rootMONode"} var="node">

        <rich:treeNode>

        <h:outputText value="#{node}" />

        </rich:treeNode>

        </rich:tree>