A script-enabled browser is required for this page to function properly.

<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.

Syntax

<rw:include id="layout_id" src="object_name" [format="format"]>
   [tag body]
</rw:include>

Attribute Value

Description

layout_id

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:

  • html: (default) HTML is produced without any internal styles. Each object is formatted individually.

  • htmlcss: Internal styles are added to the HTML. Individual fields have the internal styles applied to them. As a result, the HTML file will be smaller and all instances of a class can be reformatted as a group.

  • debug: The HTML table contains object references only instead of data.

Example

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>

See also

Oracle Reports JSP tags

About JSP tags

About JavaServer Pages and servlets