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 Rerendering a 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 "Rerendering a rich:tree" Watch "Rerendering a rich:tree" New topic
Author

Rerendering a rich:tree

zul' Zorander
Greenhorn

Joined: Aug 12, 2009
Posts: 21
I am facing a wierd problem with rich tree. I am trying to reRender a rich:tree based on selection of a list box . I have given the id of the tree to the reRender attribute of the a4j:support tag of list box and in the action listener i am setting the rendered attribute of the tree to true. But on the event the tree is not getting rendered. But if I add the tree to be rendered in a output panel and rerender the output panel instead ,the tree is rendered fine. What can be the reason behind this??? and also when I try to rerender the tree directly with the tree id ,the tree which is not rendering on the the event is rendering perfectly on refresh of the page after the event). Can anyone explain the reason behind this.

Thanks
Zeddicus
 
 
subject: Rerendering a rich:tree
 
Similar Threads
rich:tree not Rerendering
Dynamically deciding either to show or hide modalPanel
need nodes on rich:tree to not be auto selected, only selected when clicked on.
Issue with h:inputText
Need my rich:tree to be re loaded when I add a new entity to it