docs: public String pageHtml(int segment, boolean loadStyles) {
  
          if (useNewStyle()) {
              return super.pageHtml(segment, null, getParamTitle());
          }
          if (segment == HTML_START) {
              StringBuffer result = new StringBuffer(512);
              result.append("<!DOCTYPE html>\n");
              result.append("<html>\n<head>\n");
              result.append("<meta HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=");
              result.append(getEncoding());
              result.append("\">\n");
              if (loadStyles) {
                  result.append("<link rel=\"stylesheet\" type=\"text/css\" href=\"");
                  result.append(getStyleUri(getJsp(), "workplace.css"));
                  result.append("\">\n");
                  result.append("<script type=\"text/javascript\">\n");
                  result.append(dialogScriptSubmit());
                  result.append("</script>\n");
              }
              return result.toString();
          } else {
              return "</html>";
          }
  
      }