docs: public String dialogButtonsOkCancelDetails(String okAttrs, String cancelAttrs, String detailsAttrs) {
  
          if (CmsStringUtil.isEmptyOrWhitespaceOnly(detailsAttrs)) {
              detailsAttrs = "";
          } else {
              detailsAttrs += " ";
          }
  
          if (Boolean.valueOf(getParamThreadHasNext()).booleanValue()
              && CmsStringUtil.isNotEmpty(getParamReportContinueKey())) {
              return dialogButtons(
                  new int[] {BUTTON_OK, BUTTON_CANCEL, BUTTON_DETAILS},
                  new String[] {okAttrs, cancelAttrs, detailsAttrs + "onclick=\"switchOutputFormat();\""});
          }
          return dialogButtons(
              new int[] {BUTTON_OK, BUTTON_DETAILS},
              new String[] {okAttrs, detailsAttrs + "onclick=\"switchOutputFormat();\""});
      }