- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
如何动态改变birt的参数(How to change the parameters of birt dynamically)
如何动态改变birt的参数(How to change the parameters of birt dynamically)
http: / / / shuangyong83 / blog / item / edcf077b01bcebeb2e73b38c.html
请高手指点 如何动态改变birt的参数?
我想实现的是做一个公共的页面
代码:
% @ page language = java contenttype = text / html; charset = utf-8%
% @ taglib uri = / birt.tld prefix = birt%
! doctype html public - / / w3c / / dtd html 4.01 transitional / / http: / / www.w3. org / tr / html4 / loose.dtd
html
head
meta http equiv = content type content = text / html; charset = iso-8859-1
title test birt: viewer / birt: report / birt: param title /
/ head)
body
%
string designname = request.getparameter (designname);
list finishdate = request.getparameter (finishdate);
% center
birt: report id = 1 reportdesign = % = testjsp.rptdesign% height = 400 width = 400
birt: param name = startdate value = % = startdate% /
/ birt: report / center
/ body
html
二、
添加行号和颜色2008 - 09 - 17: 59通过script方式
实现行交替颜色.
选中表格中的明细行, 切换到script标签页.
在onprepare事件中加入以下代码
var count = 1;
在oncreate事件中写入
+ + count;
在onreader事件写入
if (count% 2! = = 0) {
style.setbackgroundcolor (silver);
}
即可实现每页10条记录和交替颜色功能.
birt显示行号的方法
在表的detail的script的onprepare里写上count = 1; 在oncreate里写上count + +; 在表格里插入一个data, 里面写上count即可.
三、
到eclipse网站下载可以运行的工程, 解压后, 把需要的文件及架包从下载的工程中直接拷贝过来就可以了
http: / / / downloads / download.php? file = / birt / downloads / drops / r r1 2 _ 2 _ 2 200802271210 / birt runtime - 2 _ 2 _ 2.zip
1、birt runtime - 2 _ 2 _ 2 \ webviewerexample目录下的webcontent文件夹拷贝到 {,} \ webapp目录下;
2、birt runtime - 2 _ 2 _ 2 \ webviewerexample \ web-inf \ lib下的所有架包拷贝到 {,} \ webapp \ web-inf \ lib目录下;
3、birt runtime - 2 _ 2 _ 2 \ webviewerexample \ web inf目录下的platform文件夹拷贝到 {,} \ \ web inf目录下 webapp.
4、把连接数据库的驱动放到我们的工程中 {,} \ webapp \ web-inf \ platform \ plugin \ org.eclipse.birt.report.data.oda.jdbc \ drivers目录下;
{,} \ webapp \ web inf目录下的server - config.wsdd和perties, 对应的是birt runtime - 2 _ 2 _ 2 \ webviewerexample \ web inf下的同名文件.
还有一个是 {,} \ webapp \ web-inf \ tld \ birt.tld对应的是birt runtime - 2 _
您可能关注的文档
- 养老保险破产(Bankruptcy of pension insurance).doc
- 养蛇初学者指南(Snake beginners guide).doc
- 养护大脑 让自己更聪明(Conserve your brain and make yourself smarter).doc
- 具体课程目标(Specific curriculum objectives).doc
- 兽药经营管理办法(Measures for the administration of veterinary drugs).doc
- 内存不足(insufficient memory).doc
- 内存品牌的简介(Memory brand profiles).doc
- 内涵城管(Connotation urban management).doc
- 内部交易税制中的正常交易原则评析(Analysis of the normal trading principle in the internal transaction tax system).doc
- 内地民企面临接班困境 95%富二代拒绝接班(Mainland private enterprises face the plight of succession, 95% rich two generations refused to take over).doc
- 如何发简历(How to send a resume).doc
- 如何发展适应现代农业要求的农村流通业(How to adapt to the development of modern agriculture in the rural circulation).doc
- 如何变白(How to whiten).doc
- 如何在zfs中实现raid结构(How to implement raid structure in ZFS).doc
- 如何发展和保留中层管理者(How to develop and retain middle managers).doc
- 如何在我国开展政策评价 _ 公选领导干部考试 _ 考试大(How to carry out policy evaluation in our country The _ leading cadres exam _ examination).doc
- 如何在网上邻居中隐藏自己的电脑(How to hide your computer in an online neighborhood).doc
- 如何塑造企业的信任力(How to mould the trust power of enterprise).doc
- 如何增加回头率(How to increase the rate of return).doc
- 如何填制一般纳税人增值税申报表(How to fill in the general taxpayer of value-added tax returns).doc
原创力文档


文档评论(0)