Hi,
I am using CR4E Ver 2.0.11.r1346.
I am producing HTML drill down report. My code for the same looks like..
CrystalReportViewer crystalReportViewer = new CrystalReportViewer(); crystalReportViewer.setOwnPage(false); crystalReportViewer.setPrintMode(CrPrintMode.ACTIVEX); crystalReportViewer.setReportSource(reportClientDocument.getReportSource()); HttpServletRequest request = (HttpServletRequest) parameters.get("httpServletRequest"); HttpServletResponse response = (HttpServletResponse) parameters.get("httpServletResponse"); String htmlContent = crystalReportViewer.getHtmlContent(request, response, request.getSession().getServletContext()); output.setContent(htmlContent.getBytes());
For some reasons, I can not use
crystalReportViewer.processHttpRequest
.
My code generates the HTML report as expected but the drill down reports do NOT work. I tried to inspect and got that the HTML generated by
getHtmlContent
does not have the script tag
event.js
. I added this script manually in generated content and tried to debug through, but it does not work.
Any clues?