|Oracle9i Reports Tutorial
Part Number A90900-01
Estimated completion time: 5 minutes
In Chapter 4, "Creating a Report Block for the Web Report", you added a report block to a JSP-based Web report. This chapter reviews the source code added for the report block.
empreva_<your initials>.jspby double-clicking the Web Source node in the Object Navigator.
<!-- Header -->line.
This HTML code indicates a comment line that helps you locate the report heading information in the file.
<tr>tags, which should look something like this:
rw:foreach tag loops across a group. The layout is repeated for each instance of the specified group.
<rw:foreach>JSP tag and find this line:
R_G_EMPLOYEEID is a unique identifier for this loop and
G_EMPLOYEE_ID is the data model group on which the loop repeats.
</tbody>tag that closes the table follows the closing
</rw:foreach>tag, shown here:
If you've gone through this chapter and still aren't sure whether your JSP is correct, open the file we've provided, called
empreva.jsp. This file is located in your examples directory.
Congratulations! You have finished reviewing the source code for the report block you added in Chapter 4, "Creating a Report Block for the Web Report". Continue to Chapter 6, "Creating a Graph for the Web Report" to add a graph to your Web report.