This lesson shows how to create a web page (view.jsp) that allows users to view a report they have selected in the contents.jsp page. The page is called when users click an item in the reports list ItemsGrid
component on contents.jsp.
Note: In this lesson, "the page" refers to view.jsp, which must be made active in your RAD workspace. For details on how to create new Faces JSP pages and add them to your web project, see Adding pages to your web project.
The lesson contains the following sections:
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.
ReportPageViewer
component onto the page in the visual designer.In this step, you are prompted to specify the Crystal report to be inserted into the web application.
This step adds the component to the visual designer, where you can select it and configure attributes in the Properties view.
The view.jsp page renders a report to users. The page consists of an Identity
component to identify users, an EnterpriseItem
bean to represent a report, and a ReportPageViewer
component to provide the user interface.
Note: Make sure you save the view.jsp page.
Business Objects http://www.businessobjects.com/ Support services http://www.businessobjects.com/services/support/ |