code: @Override
      protected String createDialogHtml(String dialog) {
  
          StringBuffer result = new StringBuffer(1024);
  
          result.append(createWidgetTableStart());
          // show error header once if there were validation errors
          result.append(createWidgetErrorHeader());
  
          if (dialog.equals(PAGES[0])) {
              // create the widgets for the first dialog page
              result.append("<script type=\"text/javascript\">\n");
              result.append("function download(){\n");
              result.append("\twindow.open(\"").append(getJsp().link(getDownloadPath())).append("\", \"rfsfile\");\n");
              result.append("}\n");
              result.append("window.setTimeout(\"download()\",500);\n");
              result.append("</script>\n");
              result.append(
                  dialogBlockStart(
                      key(
                          Messages.GUI_WORLKPLACE_LOGVIEW_DODOWNLOAD_HEADER_1,
                          new Object[] {getDownloadFile().getName()})));
              result.append(key(Messages.GUI_WORLKPLACE_LOGVIEW_DODOWNLOAD_MESSAGE_0));
              result.append(" <a href='javascript:download()'>");
              result.append(key(Messages.GUI_WORLKPLACE_LOGVIEW_DODOWNLOAD_LINKTXT_0));
              result.append("</a>.");
              result.append(dialogBlockEnd());
          }
  
          result.append(createWidgetTableEnd());
          return result.toString();
      }
docs: Creates the dialog HTML for all defined widgets of the named dialog (page).<p>
  
  This overwrites the method from the super class to create a layout variation for the widgets.<p>
  
  @param dialog the dialog (page) to get the HTML for
  @return the dialog HTML for all defined widgets of the named dialog (page)