See:
Description
Packages | |
com.crystaldecisions.report.htmlrender | This package contains classes for the rendering events in the Java Viewer. |
com.crystaldecisions.report.web | This package defines contains the class ServerControl , which is an abstract class.
|
com.crystaldecisions.report.web.viewer | This package contains the key functionality for the display and behavior of the viewers, including report source information, event listeners, and event arguments. |
This documentation covers the Viewer Java SDK. The Viewer Java SDK contains lightweight components intended to provide web developers with versatile tools for displaying reports inside JSP pages using HTML or DHTML. These components offer properties that you can use to control actions such as displaying buttons or displaying a group tree, page, or toolbar. They also support event handling, exporting, printing, displaying multiple viewers in the same page, and both automatic and developer-specified prompting for database or parameter information.
These lightweight components include the web reporting Java viewers. All web reporting Java viewers
inherit functionality from the
ReportServerControl
Object.
The viewers do not require frames and can co-exist with other HTML that you wish to display on the same
page as the report. Each viewer provides different capabilities.
Viewer | Corresponding Object | Description |
Used internally by the Java viewers. | ReportServerControl |
Provides the ability to log on to the database or Crystal Enterprise, pass parameters or the selection formula, and define the report source. |
Java Report Export Control | ReportExportControl |
Provides exporting functionality including the ability to preview an exported report or save an exported report to disk. |
Java Report Page Viewer | CrystalReportViewer |
Provides basic web reporting viewer capabilities. |
To create or modify a particular report you need the Report Application Server (RAS) and the RAS SDK. For details, see the Crystal Reports for BEA WebLogic Workshop Developer's Guide.
Note: It is recommended that you perform your own garbage collection in your web applications when using the Viewer Java SDK. This involves calling the appropriate dispose methods and ensuring that you use the CrystalImageCleaner class to remove temporary image files used by the viewer.