code: private void openParents(CmsTreeItem item) {
  
          if (item != null) {
              item.setOpen(true);
              openParents(item.getParentItem());
          }
      }
docs: Goes up the tree and opens the parents of the item.<p>
  
  @param item the child item to start from