code: private Map<String, CmsClientProperty> generateParentProperties(String rootPath) throws CmsException {
  
          CmsObject cms = getCmsObject();
          if (rootPath == null) {
              rootPath = cms.getRequestContext().addSiteRoot("/");
          }
          CmsObject rootCms = OpenCms.initCmsObject(cms);
          rootCms.getRequestContext().setSiteRoot("");
          String parentRootPath = CmsResource.getParentFolder(rootPath);
  
          Map<String, CmsClientProperty> result = new HashMap<String, CmsClientProperty>();
          if (parentRootPath != null) {
              List<CmsProperty> props = rootCms.readPropertyObjects(parentRootPath, true);
              for (CmsProperty prop : props) {
                  CmsClientProperty clientProp = createClientProperty(prop, true);
                  result.put(clientProp.getName(), clientProp);
              }
          }
          return result;
      }
docs: Generates a list of property values inherited to the site-map root entry.<p>
  
  @param rootPath the root entry name
  
  @return the list of property values inherited to the site-map root entry
  
  @throws CmsException if something goes wrong reading the properties