File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes How to skip a TreeNode in rich:tree? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "How to skip a TreeNode in rich:tree?" Watch "How to skip a TreeNode in rich:tree?" New topic

How to skip a TreeNode in rich:tree?

Jaaouane Aymen

Joined: Sep 22, 2009
Posts: 29
I have a rich:tree component which is built from an xml file, this tree will represent the
menu of my application, so not all nodes will be displayed, it will be according to the role.
i tested the rendered attribute of rich:treenode but it does not work.when the value of this attribute is false
the node is still displayed but with the default behaviour(i mean the icon and the text of the node are not
displayed but it dispalys the reference of the current treenode object).
how to make a treenode totally not displayed?
I agree. Here's the link:
subject: How to skip a TreeNode in rich:tree?
Similar Threads
Richfaces Tree Does Not Display TreeNode
Richfaces tree binding does not seem to work?
JSTL choose tag not working for RichFaces Tree Component
How to set the icon for JSF Tree Node in the backing bean
Getting a unique id for each component node of the Rich:tree