4 Replies Latest reply on Mar 26, 2009 10:16 AM by Ilya Shaikovsky

    [Tree] use iconCollapsed and iconExpanded

    Lotfi Mellouk Master

      Hi all,

      I add my own collapsed and expanded icones on treeNode
      when the node is expanded, 2 icones are rendered the default one and the mine.

      <rich:treeNode type="folder"
      nodeSelectListener="#{fTPViewerTree.processFolderSelection}" icon="./images/folder.gif"
      iconLeaf="./images/folder.gif" iconCollapsed="./images/folder.gif" iconExpanded="./images/folder-open.gif">
      <h:outputText value="#{item.name}" />