docs: public static String defaultButtonHtml(
          CmsHtmlIconButtonStyleEnum style,
          String id,
          String helpId,
          String name,
          String helpText,
          boolean enabled,
          String iconPath,
          String confirmationMessage,
          String onClick,
          boolean singleHelp,
          String rightHtml) {
  
          StringBuffer html = new StringBuffer(1024);
          if (style == CmsHtmlIconButtonStyleEnum.BIG_ICON_TEXT) {
              html.append("<div class='bigLink' id='img");
              html.append(id);
              html.append("'>\n");
          }
          html.append("\t<span class=\"link");
          if (enabled) {
              html.append("\"");
          } else {
              html.append(" linkdisabled\"");
          }
          if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(helpText)) {
              if (!singleHelp) {
                  html.append(" onMouseOver=\"sMH('");
                  html.append(id);
                  html.append("');\" onMouseOut=\"hMH('");
                  html.append(id);
                  html.append("');\"");
              } else {
                  html.append(" onMouseOver=\"sMHS('");
                  html.append(id);
                  html.append("', '");
                  html.append(helpId);
                  html.append("');\" onMouseOut=\"hMH('");
                  html.append(id);
                  html.append("', '");
                  html.append(helpId);
                  html.append("');\"");
              }
          }
          if (enabled && CmsStringUtil.isNotEmptyOrWhitespaceOnly(onClick)) {
              html.append(" onClick=\"");
              if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(confirmationMessage)) {
                  html.append("if (confirm('" + CmsStringUtil.escapeJavaScript(confirmationMessage) + "')) {");
              }
              html.append(onClick);
              if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(confirmationMessage)) {
                  html.append(" }");
              }
              html.append("\"");
          }
          if (style == CmsHtmlIconButtonStyleEnum.SMALL_ICON_ONLY) {
              html.append(" title='");
              html.append(name);
              html.append("'");
          }
  
          html.append(">");
          if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(iconPath)) {
              html.append("<img src='");
              html.append(CmsWorkplace.getSkinUri());
              if (!enabled) {
                  StringBuffer icon = new StringBuffer(128);
                  icon.append(iconPath.substring(0, iconPath.lastIndexOf('.')));
                  icon.append("_disabled");
                  icon.append(iconPath.substring(iconPath.lastIndexOf('.')));
                  String resourcesRoot = OpenCms.getSystemInfo().getWebApplicationRfsPath() + "resources/";
                  File test = new File(resourcesRoot + icon.toString());
                  if (test.exists()) {
                      html.append(icon);
                  } else {
                      html.append(iconPath);
                  }
              } else {
                  html.append(iconPath);
              }
              html.append("'");
              if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(helpText)) {
                  html.append(" alt='");
                  html.append(helpText);
                  html.append("'");
                  html.append(" title='");
                  html.append(helpText);
                  html.append("'");
              }
              html.append(">");
              if (style == CmsHtmlIconButtonStyleEnum.BIG_ICON_TEXT) {
                  html.append("<br>");
              }
          }
          if ((style != CmsHtmlIconButtonStyleEnum.SMALL_ICON_ONLY) && CmsStringUtil.isNotEmptyOrWhitespaceOnly(name)) {
              if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(iconPath)
                  && (style != CmsHtmlIconButtonStyleEnum.BIG_ICON_TEXT)) {
                  html.append("&nbsp;");
              }
              if (enabled) {
                  if (style != CmsHtmlIconButtonStyleEnum.SMALL_ICON_TEXT) {
                      html.append("<a href='#'>");
                  } else {
                      html.append("<a href='#' style='white-space: nowrap;'>");
                  }
              }
              html.append(name);
              if (enabled) {
                  html.append("</a>");
              }
  
              // doesn't work in new dialog for the radio button cols
              // couldn't find a place where this is needed
              // if (style != CmsHtmlIconButtonStyleEnum.BIG_ICON_TEXT && name.length() > 1) {
              //  html.append("&nbsp;");
              // }
          }
          html.append("</span>");
          if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(rightHtml)) {
              html.append(rightHtml);
          }
          if (style == CmsHtmlIconButtonStyleEnum.BIG_ICON_TEXT) {
              html.append("</div>\n");
          }
          if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(helpText) && !singleHelp) {
              html.append("<div class='help' id='help");
              html.append(helpId);
              html.append("' onMouseOver=\"sMH('");
              html.append(id);
              html.append("');\" onMouseOut=\"hMH('");
              html.append(id);
              html.append("');\">");
              html.append(helpText);
              html.append("</div>\n");
          }
          return html.toString();
      }