3 Replies Latest reply on Jun 23, 2009 9:13 AM by nbelaevski

    Problems rendering basic Tree

      Hi There,

      I am trying to render a "basic" richfaces tree without the use of a backing bean.

      I am trying to render something like this:

      <richfaces:tree>
      <richfaces:treeNode>
      <h:outputText value="node1" />
      </richfaces:treeNode>
      <richfaces:treeNode>
      <h:outputText value="node2" />
      </richfaces:treeNode>
      </richfaces:tree>

      The code runs fine (no exceptions), but I don't see any tree. I can see that the code has created some divs, but I a tree is not rendered.

      Am I missing something here, should I be able to create a tree without a backing bean? I have seen many examples on the net that suggest this approach.

      I have tried with a backing bean and that works fine, however for this application statically creating the tree nodes is more appropriate.

      Thanks!
      ~Ben