Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

dheepak kumar
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic