0 Replies Latest reply on Oct 19, 2010 8:49 AM by krikor herlopian

    treenode collapse button

    krikor herlopian Newbie

      public Boolean adviseNodeOpened(UITree tree) {
                         if (!PostbackPhaseListener.isPostback()) {
                              Object key = tree.getRowKey();
                              TreeRowKey treeRowKey = (TreeRowKey) key;
                              if (treeRowKey == null) {
                                  return Boolean.FALSE;
                          return null;


      with this function i collapse the tree.


      Problem: when it collapses and i click back on the root node, it expands everythign expanded pre-collapse phase.I want to collapse every node, and not just the first level nodes. How can this be done? thank you.