场景示例- JSP标签展现报表-报表展现标签与API
目录
本节目录收起
  • 示例1
  • 示例2
  • 场景示例

    示例1

    自定义JSP页面进行展现报表

    <%@ taglib prefix="view" uri="/WEB-INF/tld/viewReport.tld"%>
    <html>
    <body style="margin: 0; width: 100%; height: 100%; overflow: auto;">
    <view:report name="report1" 
    srcType="file" 
    fileName="/vrdemo/report.raq"
    toolbarLocation="top"
    />
    </body>
    </html>

    示例2

    在报表得到当前页html代码后触发test1.js中的callBack_loadSuccess方法

    rptObj_report1.bind('getPage', callBack_loadSuccess, this);