birt

Birt data source parameters from a property file

北慕城南 提交于 2019-11-27 18:42:45
问题 I have multiple BIRT reports that obtains the data from the same jdbc data source. Is it possible to obtain the conection parameters (Driver URL, User Name, and Password) from an external property file or similar? 回答1: One you create a functional data source, you can add that data source to a report library that can be imported and used by all BIRT reports in your system. The source inside the library can have static connection attributes, or you can abstract them using externalized

Maven repository for BIRT 2.6.0

对着背影说爱祢 提交于 2019-11-27 17:02:06
问题 Is there a Maven repository for BIRT 2.6.0 that I could point to? 回答1: I'm working on it. See my blog for progress or try the first RC at http://maven.eclipse.org/nexus/content/repositories/testing/. The project also comes with a set of tools to convert Eclipse bundles into Maven artifacts. 回答2: No, there is not any. In our project we simply downloaded BIRT runtime and installed all required artifacts in our central repository, and everyone references it. 回答3: I'm not aware of a public

How do I set a parameter to a list of values in a BIRT report?

北城余情 提交于 2019-11-27 13:21:48
I have a DataSet with a query like this: select s.name, w.week_ending, w.sales from store s, weekly_sales_summary w where s.id=w.store_id and s.id = ? I would like to modify the query to allow me to specify a list of store IDs, like: select s.name, w.week_ending, w.sales from store s, weekly_sales_summary w where s.id=w.store_id and s.id IN (?) How do I accomplish this in BIRT? What kind of parameter do I need to specify? The easy part is the report parameter: set the display type to be List Box, then check the Allow Multiple Values option. Now the hard part: unfortunately, you can't bind a

Birt Report Multiple Parameters for the same field

时光毁灭记忆、已成空白 提交于 2019-11-27 08:19:03
问题 I am using Birt to generate reports. I want to use the same parameter twice in my where clause e.g. where date_column >= ? and date_column < ?. The '?' at this line is one parameter which points to a date (Report parameter). Adding to this in my next where clause I want to use a second parameter to find the date period again but in a different year (current year -1). I know that birt sees parameters and ? sequentially. How can I configure this? 回答1: Simply add two parameters with 2 diffenrent

Can't display SVG charts in Internet Explorer 8

£可爱£侵袭症+ 提交于 2019-11-27 07:07:24
问题 I made a servlet that runs and renders a BIRT report, using ReportEngine API. The only problem is that SVG images (charts) are not shown in Internet Explorer 8 or 7. While running the official BirtViewer webapp they are shown under IE8 too. I peeked into BirtViewer resulting HTML and noticed this meta tag: <!-- Mimics Internet Explorer 7, it just works on IE8. --> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"> So I tried adding it by hand in my own resulting HTML, but with no

How to create BIRT report based on multiple data sets

别说谁变了你拦得住时间么 提交于 2019-11-26 21:24:52
问题 I need help in creating a BIRT report; the situation is that I have multiple queries but the report all columns should be grouped by One column for example (Operator) Like : Operator | Expr1 | Expr2 | Expr3 | Expr4 | op1 | ## | ## | ## | ## | op2 | ## | ## | ## | ## | op3 | ## | ## | ## | ## | How can i accomplish that ? I 'm trying to make the Operator separate data set and put it in the first column and add a parameter in all quires i.e (where (operator = ?)) to get the Operator from the

How do I set a parameter to a list of values in a BIRT report?

六月ゝ 毕业季﹏ 提交于 2019-11-26 16:21:32
问题 I have a DataSet with a query like this: select s.name, w.week_ending, w.sales from store s, weekly_sales_summary w where s.id=w.store_id and s.id = ? I would like to modify the query to allow me to specify a list of store IDs, like: select s.name, w.week_ending, w.sales from store s, weekly_sales_summary w where s.id=w.store_id and s.id IN (?) How do I accomplish this in BIRT? What kind of parameter do I need to specify? 回答1: The easy part is the report parameter: set the display type to be