code: public String getPath() {
  
          StringBuffer path = new StringBuffer("/");
          CmsTreeItem current = this;
          while (current != null) {
              path.insert(0, current.getId()).insert(0, "/");
              current = current.getParentItem();
          }
          String result = path.toString();
          if (result.startsWith("//")) {
              // This happens if the root item has an empty id.
              // In that case, we cut off the first slash.
              result = result.substring(1);
          }
          return result;
      }
docs: Returns the path of IDs for the this item.<p>
  
  @return a path of IDs separated by slash