code: public void addSubEntry(CmsClientSitemapEntry entry, I_CmsSitemapController controller) {
  
          entry.setPosition(m_subEntries.size());
          entry.updateSitePath(CmsStringUtil.joinPaths(m_sitePath, entry.getName()), controller);
          entry.setFolderDefaultPage(entry.isLeafType() && getVfsPath().equals(entry.getVfsPath()));
          m_subEntries.add(entry);
      }
docs: Adds the given entry to the children.<p>
  
  @param entry the entry to add
  @param controller a sitemap controller instance