I've been struggling for the last 5 weeks to get the crystalreportviewer working in my webapp. It is SO close, but I feel like I'm missing something related possibly to the use of the crystalreportviewer (of class com.crystaldecisions.report.web.jsf.UIReportPageViewer)
The basic problem is that while the viewer is shown on the webpage, the toolbar and report content are not.
By using FireBug2, I can find the report content and force it to display. I can do this by changing "visibility:hidden" to "visibility:visible" in the below body tag, generated by the SAP BO provided javascript:
<iframeid="bobjid_1406231767316_iframe"width="100%"height="100%"frameborder="0"tabindex="0"aria-labelledby="bobjid_1406231767316_h2"margin="0"style="display: block;">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<body>
<divid="OFGCrystalViewercridreportpage"class="crystalstyle"style="width:652;height:861;position:absolute;visibility:hidden;"name="OFGCrystalViewercridreportpage">
</body>
</html>
</iframe>
I even know the code that creates the iFrame, found at line 160 of ReportPage.js in /crystalreportviewers/js/crviewer/
However, I don't know how to find the code that sets the content within the body tag, which comes in as a parameter to the iframe-constructing function from somewhere else.
Similarly, with the toolbar, I can find the html using firebug, and by changing "display:none" to "display:block" and then offsetting the next division down a number of pixels, I can see the toolbar, with the zoom, export, print buttons.
So...I can make them display by manipulating the webpage the BO Javascript creates, but how do I get them to display by default?
Jeremy