Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Rerendering a rich:tree

 
zul' Zorander
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic