bulktree 发表于 2013-2-7 16:48:32

iReport+jasperReport概念的澄清(续)

JasperReport有三个域用来存放、展示数据,Parameter、Field、Variables,这次说说这三个吧!

Report Parameters

JasperReport 报表的参数是最为一个object类型的参数传递的,通常我们在jrxml文件中会这样定义<div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee;">http://www.blogjava.net/Images/OutliningIndicators/None.gif<parameter name="ReportTitle" class="java.lang.String"/>
页: [1]
查看完整版本: iReport+jasperReport概念的澄清(续)