3 Replies Latest reply on Feb 12, 2011 12:30 PM by davidmcl

    Auto-expanding tree nodes in Richfaces 4.0.0 Milestone 5

    davidmcl Newbie

      Hi. I have a tree which is working correctly - however, I can't find a way to have the nodes expanded automatically when the tree is loaded.


      Any other examples I've seen have worked in Richfaces 3, but I couldn't use the same methods in 4.0. (It doesn't seem to allow adviseNodeOpened, queueExpandAll, or a TreeStateAdvisor, which are some ways I've seen this solved elsewhere.)


      There's a setExpanded() method on UITreeNode, which looks promising, but it doesn't seem to have any effect. If that's the correct way to go about it, in what way should it be used?


      Any help on this would be much appreciated. Thanks.