D.6 Toolbar and Body Tags
The Body Tag must be present to ensure correct generation of the report.
The HTML body tag must have the onLoad attribute defined with the scriptlet <%=pageContext.getAttribute("sreeOnLoad")%> appended to any onLoad java script you have defined. This is used for invoking java script written by the header tag when the page loads.
The toolbar and body can be placed anywhere within the HTML body. Both tags require the reportId attribute.
<body onLoad="initMyPage();<%=pageContext.getAttribute
("sreeOnLoad")%>">
<p>This report shows sales for the state of New York.</p>
<sree:toolbar reportId="myReport"/>
<sree:body reportId="myReport">
<p>Please wait while the report is being generated.</p>
</sree:body>
The content enclosed in the body tag is written if the report is not yet available and the processPage attribute of the create tag is set to true. The toolbar tag can also optionally include content that will be written if the page is not available.
| << D.5 Header Tag | © 1996-2013 InetSoft Technology Corporation (v11.4) | D.7 Button Tag >> |