0 Replies Latest reply on Apr 17, 2008 5:12 AM by dmatz05

    How to retrieve treenode types

    dmatz05

      Hi,

      i have one short question:
      is there a possibility to retrieve the names of treenode types, which are defined within a tree component?

      Example:

      <rich:tree ... nodeFace="#{item.type}">
       <rich:treeNode type="TypeA" ...>
       ...
       </rich:treeNode>
       <rich:treeNode type="TypeB" ...>
       ...
       </rich:treeNode>
       ...
      </rich:tree>
      

      so how can I obtain a list with {"TypeA", "TypeB", ...} within a backing bean?


      Thanks,
      Matthias