Layout.getParents ()
walk up all parents and add them to a Hashtable (the key is the layout._id, value is Boolean true

  • Returns
    Object java.util.Hashtable
Sourcecode in Layout/objectFunctions.js:
1:   function getParents() {
2:      var parents = new java.util.Hashtable();
3:      var handler = this;
4:      while ((handler = handler.parent) != null)
5:         parents.put(handler._id, true);
6:      return parents;
7:   }