1 Reply Latest reply on Jun 1, 2014 9:50 PM by fftolentino

    TreeStateAdvisor in RF 4 ?

    captainvoid

      Hi,

      I'm trying to port my tree from Richfaces 3.3 to 4.

      I create the tree programmatically, the tree nodes expand/collapse with ajax (toggleType=ajax).

       

      I'm not sure how to substitute the "TreeStateAdvisor" which (in Riachfaces 3.3) gave me a callback to set the expanded state of a node.

      I didn't find anything suitable in the Richfaces 4 examples.

       

      Could the Richfaces guys give me a tip on that?

      I need to keep track of the expanded state of the nodes, so I can display the same tree after page refresh.

       

      Thanks in advance.