my dog learned polymorphism*
The moose likes JSF and the fly likes Getting a unique id for each component node of the Rich:tree Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Getting a unique id for each component node of the Rich:tree" Watch "Getting a unique id for each component node of the Rich:tree" New topic
Author

Getting a unique id for each component node of the Rich:tree

dheepak kumar
Greenhorn

Joined: Apr 11, 2006
Posts: 5
Hi All,

I have a rich:tree that has a simpleTogglepanel on each node of the tree.
I would like to get a unique id for the simpleTogglepanel,so that any change made on the node affects only that particular tree Node and simpleTogglepanel.

Can someone please let me know how to get a unique id.Can I make use of the rowKeyVar attribute of rich:tree to pass into the id attribute of the simpletogglepanel.

Thanks
Dheepak
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Getting a unique id for each component node of the Rich:tree
 
Similar Threads
How to skip a TreeNode in rich:tree?
Need my rich:tree to be re loaded when I add a new entity to it
Rerendering a rich:tree
Select listener not getting called
<rich:tree> Problem with queueNodeExpand() to expand a Path to a leaf