code: public String groupHtml(CmsWorkplace wp) {
  
          List<CmsTool> subTools = OpenCms.getWorkplaceManager().getToolManager().getToolsForPath(
              wp,
              getHandler().getPath(),
              false);
          Iterator<CmsTool> itSubTools = subTools.iterator();
          m_container.clear();
          while (itSubTools.hasNext()) {
              CmsTool subTool = itSubTools.next();
              // locate group
              CmsToolGroup group = null;
              String groupName = CmsToolMacroResolver.resolveMacros(subTool.getHandler().getGroup(), wp);
  
              // in the parent tool
              group = getToolGroup(groupName);
              if (group == null) {
                  // if does not exist, create it
                  String gid = "group" + getToolGroups().size();
                  group = new CmsToolGroup(gid, groupName);
                  addToolGroup(group, subTool.getHandler().getPosition());
              }
  
              // add to group
              group.addAdminTool(subTool, subTool.getHandler().getPosition());
  
          }
  
          StringBuffer html = new StringBuffer(512);
          Iterator<CmsToolGroup> itHtml = getToolGroups().iterator();
          while (itHtml.hasNext()) {
              CmsToolGroup group = itHtml.next();
              html.append(group.groupHtml(wp));
          }
          return CmsToolMacroResolver.resolveMacros(html.toString(), wp);
      }
docs: Returns the necessary html code for the tool subgroups.<p>
  
  @param wp the jsp page to write the code to
  
  @return html code