code: public String buildReportRequest() {
  
          StringBuffer html = new StringBuffer(512);
  
          html.append("<script type='text/javascript'><!--\n");
          html.append("makeRequest('");
          html.append(getJsp().link("/system/workplace/commons/report-deleted.jsp"));
          html.append("', '");
          html.append(CmsDialog.PARAM_RESOURCE);
          html.append("=");
          html.append(getParamResource());
          html.append("', 'doReportUpdate');\n");
          html.append("// -->\n");
          html.append("</script>\n");
  
          return html.toString();
      }
docs: Builds the java script code to build the report.<p>
  
  @return html code with the java script to use ajax to create the report