This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes Select first node 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 "Select first node in rich:tree" Watch "Select first node in rich:tree" New topic

Select first node in rich:tree

Robby Iven

Joined: Dec 14, 2009
Posts: 2
Hi everybody,

I have a question regarding a rich tree.

When the user browses to the application, he must first make a selection of which data he needs. When he presses ok, the second page appears containing a rich:tree. Next to the three ar some charts which are rendered in function of what was clicked/selected in the tree.

What I like to do is when the second page initially loads after selection, the first node becomes selected and the charts are rendered.

I've tried googling and found something on TreeStateAdvisor, but that doesn't seem to work.

Can anybody help me?

subject: Select first node in rich:tree
Similar Threads
[Rich Faces + Facelets] rich:tree - problem with nodes.
richface tree example
needing h:outputLink and nodeSelectListener to work in sync, but now need to click link twice
need nodes on rich:tree to not be auto selected, only selected when clicked on.
having clicking on a treeNode from rich:tree change ui:define content (need help)