getTOC
Obtains the table of contents for a report from the server. It fetches the data in XML form, which is converted for display in the browser. The report is identified by its ID or name. Either the report ID or name attribute must be set.
Library
Tag class
com.actuate.reportcast.tags.viewer.GetTOCTag
Attributes
Table 8-16 lists and describes the attributes for getTOC.
Table 8-16 Attributes for getTOC The unique authentication identifier returned by Actuate BIRT iServer on successful login. The view server connection handle from the Actuate BIRT iServer. The table of contents’ format. XMLDisplay is the supported format. The report’s locale, such as en_US, as in <context root>\Web-inf\localemap.xml. The name of the object for which a table of contents is being built. The identifier specifying the starting point of the table of contents. The URL of the server on which the report resides, such as http://Services:9000. The report’s time zone as in <context root>\Web-inf\TimeZone.xml. The report’s version. The latest version is used if no version is given.Used in
<context root>\viewer\viewtoc.jsp
Example
The following example creates the table of contents for the Detail report:
(c) Copyright Actuate Corporation 2011 |
![]() |