4 Replies Latest reply on Sep 23, 2008 10:20 AM by Anders Norgaard

    When is TreeStateAdvisor called?

    Anders Norgaard Newbie

      I would like to have my tree expanded depending on the state of comboboxes elsewhere in the gui. So I have implemented a TreeStateAdvisor - and declared it with the stateAdvisor attribute like this:

      <rich:tree rendered="#{cpemanager.hasDSL()}" value="#{cpemanager.propertiesTree()}"
       var="item" nodeFace="#{item.type()}" id="conftree" stateAdvisor="#{cpemanager.advisorImpl}">


      But the methods "adviseNodeOpened" or "adviseNodeSelected" are never called. How do I actually get the tree to check which node should be expanded?

      Best
      Anders