Jasper_table_pass parameter to table component
<subDataset name="Dataset1" uuid="2a894ef4-dbcc-47df-bfaf-027766c7352e">
2 <parameter name="PARAMS_PROVIDER" class="com.citi.gfts.rptapp.jasper.writer.JRParamsProvider"/>
<parameter name="P_YEAR" class="java.lang.String"/>
<queryString language="CSV">
<![CDATA[]]>
</queryString>
<field name="SELECTED_PERIOD" class="java.lang.String"/>
......
</subDataset>
10 <parameter name="PARAMS_PROVIDER" class="com.citi.gfts.rptapp.jasper.writer.JRParamsProvider" isForPrompting="false"/>
<queryString language="CSV">
<![CDATA[]]>
</queryString>
<field name="SELECTED_PERIOD" class="java.lang.String"/>
<datasetRun subDataset="Dataset1" uuid="4d921887-ca07-4e67-be57-09ca48c843d1">
2 <datasetParameter name="PARAMS_PROVIDER">
<datasetParameterExpression><![CDATA[$P{PARAMS_PROVIDER}]]></datasetParameterExpression>
</datasetParameter>
5 <datasetParameter name="P_YEAR">
6 <datasetParameterExpression><![CDATA[$P{PARAMS_PROVIDER}.getQueryParams().get("P_FISCAL_YEAR")==null?"-":$P{PARAMS_PROVIDER}.getQueryParams().get("P_FISCAL_YEAR")]]></datasetParameterExpression>
7 </datasetParameter>
<dataSourceExpression><![CDATA[$P{PARAMS_PROVIDER}.getDataSource("ds1")]]></dataSourceExpression>
</datasetRun>
1) create required parameters in the main report by right clicking on the parameters section of main report------> add parameter-------->set the properties (data type) of newly added parameter to your desired one.
2) create equivalent parameters in the table/List's data source's parameters section exactly as in step 1.
3) from report explorer, right click on the table and click on Edit Table DataSet ------> clickthe parameters button----------->Click add ---------->Choose the parameter (which you created in the dataset's parameter section in step 1) from upper combo (i.e. Dataset parameter name) ------> then click on lower button (i.e.) assign value expression i.e. the params which you added in step 1.
Jasper_table_pass parameter to table component的更多相关文章
- Pentaho BI server 中 CCC table Component 的使用小技巧
我使用的版本 Pentaho BI Server 5.3.0.0.213 CDE/CDF/CDA/CCC 15.04.16 stable Q: 如何设置表格中各种提示文字的语言(默认为英语)? C ...
- taro table component
taro table component https://juejin.im/post/5d901696f265da5b926bbcaa https://taro-ext.jd.com/search? ...
- Jasper_table_resolve get multiple copies of table in detail band issue
resolve method: (1) put table component into the Title band / Page Header band / Summary band, not i ...
- 微信小程序简易table组件实现
前提:微信小程序自1.6.3基础库版本库开始支持简洁组件,之前的版本因不支持,故在引用组件处默认为空节点.关于微信小程序已有模板为何还需构建组件?一是因为组件可以更方便的自定义并绑定行为,二是在其他页 ...
- React 实现 Table 的思考
琼玖 1 年前 (写的零零散散, 包括github不怎么样) Table 是最常用展示数据的方式之一,可是一个产品中往往很多非常类似的 Table, 但是我们碰到的情况往往是 Table A 要排序, ...
- Jasper_table_resolve multiple copies of table in detail band issue
resolve method: (1) put table component into the Title band / Page Header band / Summary band, not i ...
- Deploying JRE (Native Plug-in) for Windows Clients in Oracle E-Business Suite Release 12 (文档 ID 393931.1)
In This Document Section 1: Overview Section 2: Pre-Upgrade Steps Section 3: Upgrade and Configurati ...
- ADF_Data Binding系列1_使用Bean Data Control
2015-02-16 Created By BaoXinjian
- Developing User Interfaces
Developing a User Interface with ADF Faces Purpose This tutorial covers developing the user interf ...
随机推荐
- LeetCode_Scramble String
Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrin ...
- Powershell访问数组
数组的元素可以使用索引寻址,第一个元素的索引为0,第i个元素的索引为i-1,最后一个元素的索引为Count-1,但是Powershell为了使用方便,直接可以将 -1 作为最后的一个元素的索引. PS ...
- 使用脚本管理IIS
参考资料https://technet.microsoft.com/zh-cn/library/cc779108(WS.10).aspxhttps://technet.microsoft.com/zh ...
- 2015必须要看的APP源码
多媒体类型 哔哩哔哩(bilibili)客户端源码 一个高仿哔哩哔哩(bilibili)客户端的开源项目,效果不错 下载地址: http://www.apkbus.com/forum.php?mod= ...
- android 之 百度地图
简介 百度地图Android定位SDK为基于移动客户端开发LBS应用提供基础定位能力. 功能介绍 功能介绍: 地图展示:包括2D图.卫星图.3D图地图展示. 地图操作:提供控制平移.缩放.底图旋转.变 ...
- 马士兵 Servlet_JSP(2) JSP源代码)
1.最简单的JSP HelloWorld.jsp <html> <head> <title>Hello</title> ...
- shell脚本一条命令直接发送http请求(xjl456852原创)
我们知道nc命令是一个网络工具.可以连接tcp/udp.也能模拟发送http请求. 现在介绍通过shell脚本,一条命令直接发送http请求. 命令如下,可以对下面的地址等信息自行修改: #!/bin ...
- 【转】Devexpress使用之:GridControl控件(合并表头)
Devexpress系列控件功能很强大,使用起来也不太容易,我也是边摸索边使用,如果有时间我会把常用控件的使用方法整理出来的. using System; using System.Collectio ...
- ASP.NET 实现PDF文件下载
本文介绍了一种在ASP.NET中下载文件的方法. 方法一:可能是最简单的.最短的方式: Response.ContentType = "application/pdf"; Resp ...
- Android Studio编译好的apk放在哪里?
Eclipse中编译好的apk文件时在bin文件中面的,可是在Android Studio有一个比較大的修改了,编译好的apk在android studio里面是直接看不到了,并且apk文件所在文件夹 ...