1 Reply Latest reply on Jun 3, 2009 12:30 PM by Nick Belaevski

    is it possible to reRender rich:tree component?

    Hung Tang Apprentice

      Hi,

      In my application, I am not able to rerender the tree:component backed by a datasource that is constantly updated periodically.

      Here's my code:

      <rich:tree id="folder_tree" switchType="ajax" value="#{rootNode}" >
       <rich:treeNode id="tree_node_folder"/>
       <rich:treeNode id="tree_node_policy"/>
      </rich:tree>
      


      <a:poll interval="3000" reRender="folder_tree">
      


      Can I expect that the tree will re-render itself every 3 seconds? That is, new leaf nodes will be added automatically if the underlying data model is updated to reflect new additions.

      Thanks