Hello,
I have tree with check-boxed leafs and attached adviseNodeOpened method which returns TRUE if node in subtree is checked, otherwise it returns FALSE.
public Boolean adviseNodeExpand(UITree tree) { boolean subnodeSelected = isSubnodeSelected(tree.getRowData()); if (subnodeSelected) { return Boolean.TRUE; } return Boolean.FALSE; }
Please see http://livedemo.exadel.com/richfaces-demo/richfaces/treeNodesAdaptor.jsf for possible solution.