File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Rerendering a rich:tree" Watch "Rerendering a rich:tree" New topic

Rerendering a rich:tree

zul' Zorander

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.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Rerendering a rich:tree
Similar Threads
rich:tree not Rerendering
need nodes on rich:tree to not be auto selected, only selected when clicked on.
Issue with h:inputText
Dynamically deciding either to show or hide modalPanel
Need my rich:tree to be re loaded when I add a new entity to it