<rw:include>
The rw:include
tag allows users to output a simple HTML table
for a top-level layout object in a report. The rw:include
tag helps
with the migration from existing RDF reports to JSP reports. Users can reference
any top level layout object (for example an object that isn't surrounded by
a frame) and Reports will format the object into a simple HTML table. With the
rw:include
tag, you can have a single source of data for both a
paper and a Web report. It also facilitates complex layouts in the Paper Layout
view. Referencing objects other than the top level object will cause an error
to be raised and the tag to be ignored.
Note: This object can only be edited in the Paper Layout view of Reports Builder.
<rw:include id="layout_id" src="object_name" [format="format"]>
[tag body]
</rw:include>
Attribute Value |
Description |
|
A unique identifier in the page scope. |
object_name |
The name of a top-level layout object (the object cannot exist in a frame). The corresponding layout object can only be changed in the Paper Layout view. |
format |
Can be any of the following:
|
This example shows rw:include referencing a layout object.
<rw:report id="myReport">
<rw:objects id="objects"></rw:objects>
<rw:include id="myinclude" src="M_GRP_EMP" format="html">Reports Layout HTML</rw:include>
</rw:report>
About JavaServer Pages and servlets
Copyright © 1984, 2005, Oracle. All rights reserved.