In the sources for MyFaces, the examples include a file called TreeBacker.java. This is the back bean for the tree2 example. Basically the tree2 component will ask you to provide it with a var parameter that consists in a tree node, which contains children nodes, all in a hierarchical way (so that the tree can be built).
I am currently experimenting with this component myself so feel free to ask any questions, I'll probably be interested :) Hope this helps, Greg -----Original Message----- From: Anu Padki [mailto:[EMAIL PROTECTED] Sent: Friday, October 07, 2005 2:22 PM To: users@myfaces.apache.org Subject: tree2 back bean example Hello, I am new to myfaces and also to JSF. I am planning to use Tree2 component. I read the myfaces documentation and the examples. However, I did not see any backbean examples. I dont really understand how to make a backbean for tree2. Can someone please give me some backbean code for tree2? I would really appreciate the help. Thanks - Anu