birt

BIRT: XML data source cannot be retrieved. XML data source file is invalid or the file doesn't exist

╄→尐↘猪︶ㄣ 提交于 2019-12-24 01:58:08
问题 I created an XML data source that fetches XML data from a local application. when creating a data set I get the following error. org.eclipse.datatools.connectivity.oda.OdaException: XML data source cannot be retrieved. XML data source file is invalid or the file doesn't exist. at org.eclipse.datatools.enablement.oda.xml.ui.wizards.XPathChoosePage.populateXMLTree(XPathChoosePage.java:482) at org.eclipse.datatools.enablement.oda.xml.ui.wizards.XPathChoosePage.createPageCustomControl

Multiple parameter values

非 Y 不嫁゛ 提交于 2019-12-23 21:03:16
问题 I have a problem with BIRT when I try to pass multiple values from report parameter. I'm using BIRT 2.6.2 and eclipse. I'm trying to put multiple values from cascading parameter group last parameter "JDSuser". The parameter is allowed to have multiple values and I'm using list box. In order to be able to do that I'm writing my sql query with where-in statement where I replace text with javascript. Otherwise BIRT sql can't get multiple values from report parameter. My sql query is select

Report parameter validation message with Birt

可紊 提交于 2019-12-23 20:24:01
问题 I'm creating a BIRT report using certain parameters. I have an int parameter (Number of months) which values can be from 1 to 12. I need to check if the value is bigger than 12. In such case it should show me a customized message and not an error like it is doing right now. Error: org.eclipse.birt.report.service.api.ReportServiceException: The validation for parameter "nummonths" fails. Current script: if (params["nummonths"].value > 12 ) { false; } else { true; } I create reports in BIRT to

How to get hyperlinks in BIRT report viewer

大憨熊 提交于 2019-12-23 03:48:16
问题 Using BIRT 4.2 My database (Postgresql) has many fields with hyperlinks in it and when I am displaying the reports via BIRT report viewer, all the fields which have hyperlinks are displayed as normal text in the BIRT report viewer. I want the hyperlinks to be retained at the BIRT report viewer. How can I achieve this. Please suggest. 回答1: Select the corresponding cell and go to the hyperlink property and click on edit and select the URI radio button and click on the javascript syntax button

Difference between com.lowagie.text and iText 2.1.7 JAR?

我与影子孤独终老i 提交于 2019-12-23 03:47:45
问题 First of all, this is NOT a duplicate of this question: What is the difference between lowagie and iText?  In this question, I'm only referring to the version used by both Jasper and BIRT, that is the 2.1.7. What is the difference between BIRT's com.lowagie.text-2.1.7.jar and Jasper Reports' iText-2.1.7.jar? I have been trying to integrate BIRT and Jasper Reports in my application and decide later which should I use. BIRT 4.6 uses com.lowagie.text-2.1.7.jar, while Jasper Reports 6.3 requires

How to convert string to integer in BIRT after fetching it from the database?

烂漫一生 提交于 2019-12-23 03:22:34
问题 I use BIRT for reports and i am a beginner BIRT user. In my report i must calculate the average of a column. (database is an oracle) In my open script I have sth. like this: sqlText = "select A, B, C, D, ((date1-date2) day to second) as differencedate from problem"; difference date column values are like this: 0 0:22:15 and in my fetch I have if (!maximoDataSet.fetch()) return (false); row["A"] = maximoDataSet.getString("A"); row["B"] = maximoDataSet.getDate("B"); .... row["differencedate"]

How to display dataset result as left to right?

余生长醉 提交于 2019-12-23 01:19:13
问题 I am new to BIRT, i am trying to display my BIRT report data from left to right horizontally, Default, table data fills vertically,But i would like to have exactly opposite to it,What i have to do to achieve this? My Dataset student_name student_1 student_2 student_3 My expected result would be , student_name student_1 student_2 student_3 How can i show data horizontally in BIRT? 回答1: You can achieve this using a List element bound to the dataset, instead of a table element. As shown in the

Hiding grids/tables in BIRT whith no results from datasource

旧时模样 提交于 2019-12-23 01:16:15
问题 I am having trouble altering a report in birt to meet my teams specifications. The problem is this: I am generating a report from a jdbc datasource. I am selecting items from the DB such that there is either one row or none. If there is a row returned, I show data reflecting the results. If there is no row returned though, I should hide the entire grid that the data should have been shown in and show a simple message, "no data can be found." I have tried different actions like adding a count

BIRT without OSGi framework

给你一囗甜甜゛ 提交于 2019-12-22 18:40:19
问题 Greetings, we are currently trying to integrate BIRT in our desktop standalone application, using samples from here. The question is - how to avoid using the OSGi framework. Can we put all the required libraries and plugins in the resulting EAR without having to set the report engine home? Because our clients will not be happy about having to download additional runtime. And is there really a need for such a huge runtime (about 100 megabytes, I guess). 回答1: Sorry, but there is really no way

Why is there no Maven repository for Eclipse Birt 3.7 => There is one for Birt 4.2

匆匆过客 提交于 2019-12-20 19:47:35
问题 Now, since Birt 3.7 has an easier way to use the runtime (just deploy the jars), why is there no maven repository? Birt contains over 50 dependencies, it's ridiculous. How do you work around this issue? Update: Some more help is out there (we are not alone): https://dev.c-ware.de/confluence/display/PUBLIC/Embeding+Birt+into+Application+built+with+Maven Update 11. Feb. 2012 In the linked Birt-Exchange Forum there is some progress: <repositories> <repository> <id>sonatype-nexus-snapshots</id>