• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Rerendering a rich:tree

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic