2 Replies Latest reply on Jan 23, 2009 10:20 AM by Perihan Obek

    rich:tree : Documentation request

    Stefan Frank Newbie

      The Documentation for the rich:tree-Component is awful: It takes ages to dig around to find a complete, working example (http://anonsvn.jboss.org/repos/richfaces/trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java and http://anonsvn.jboss.org/repos/richfaces/trunk/samples/tree-demo/src/main/webapp/pages/index.jsp) are my best guess: The docs in example-app omit the fact, that you have to build a richfaces-specific DataStructure in order for this to work (org.richfaces.component.TreeNode) - and most of the forum-threads around the tree-component are still dangling unanswered.

      A complete example for this component would be nice, and would include:

      - the backing bean, with an example to build a custom treenode
      - the facelets-page that connects with the backing bean

      Without some words about how the backing bean has to be structured, the facelets-code alone is pretty useless...