Adding a viewer

The view.jsp page will be used to render a report to users. The source of the report is obtained from the EnterpriseItem bean, which you added in Adding an individual report. To complete view.jsp, in the next procedure you add a ReportPageViewer component and set the report source.

To add a ReportPageViewer component
  1. Open the view.jsp page.
  2. In the Palette view, under the Crystal Reports Faces Components tab, click Report Page Viewer and drag a ReportPageViewer component onto the page in the visual designer.
  3. In this step, you are prompted to specify the Crystal report to be inserted into the web application.

  4. On the Use an existing bean list, click enterpriseItem.reportSource.
  5. If you want the EnterpriseItem bean to return the latest successful instance of the report instead of running the report again, select the “Use Latest Instance” check box.
  6. Note:    If no previous instance of the report exists, then the report will be run again instead of using the latest instance.

  7. Click Finish.
  8. Save the view.jsp page.
  9. This step adds the component to the visual designer, where you can select it and configure attributes in the Properties view.






Business Objects
http://www.businessobjects.com/
Support services
http://www.businessobjects.com/services/support/