This content has been marked as final.
Show 4 replies
-
1. Re: particular icon for every tree item
ilya_shaikovsky Jun 8, 2009 7:54 AM (in response to elf)http://livedemo.exadel.com/richfaces-demo/richfaces/tree.jsf?tab=dnd&cid=17
sample where custom icons defined. -
2. Re: particular icon for every tree item
panky_p Jun 8, 2009 7:54 AM (in response to elf)There are three attributes iconCollapsed, iconExpanded and iconLeaf for rich:treeNode. You can use iconLeaf for component leaves.
For more details http://livedemo.exadel.com/richfaces-demo/richfaces/tree.jsf?tab=usage&cid=1506492 -
3. Re: particular icon for every tree item
elf Jun 8, 2009 8:04 AM (in response to elf)As I understand I should divide my data on different types. But in my case every item is particular. Is there a way do not divide data on types, may be to use HtmlTreeNode class or something else ?
-
4. Re: particular icon for every tree item
ilya_shaikovsky Jun 8, 2009 8:23 AM (in response to elf)No, even icon for the nodes with same type could be different as you could see from the page I've mentioned. Just use EL for icon attributes.