• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF tree problem  RSS feed

 
Ali Al Ali
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear JavaRanch people,

I'm new to JSF and i have to use tomahawk tree.

When I fill the tree object I do the following


DefaultMutableTreeNode root = new DefaultMutableTreeNode("root");
DefaultMutableTreeNode node = new DefaultMutableTreeNode("A");
root.insert(node);

Now, how to add an action to the nodes???

This is the JSF control

<t:tree id="tree" value="#{treeBean.tree}" expandRoot="true" />
[ August 14, 2008: Message edited by: ANA ABOI ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!