birt

Maven repository for Eclipse BIRT runtime

I'm trying to find a maven repo to allow me to add BIRT reporting dependencies to a Eclipse Dynamic Web project. The closest I've found is http://repository.jboss.org/maven2/org/eclipse/birt/, but when that repo is added to the m2eclipse indexes, the BIRT artifacts are not found. As per http://dev.eclipse.org/newslists/news.eclipse.tech...

Display String Tokens

I have String tokens separated by $$ which are list of particulars which are further separated by comma (e.g. Peter Adams,255 Jhonson Street, NY,74322 $$ Mary Luther,54 Eglinton Ave.,Mississauga,ON L5A1W6) I want to display above in following way Name : Peter Adams Addr :255 Jhonson Street City : NY Pincode :74322 Name : Mary Luther A...

how to access any dataset in scripted data source

Hi I want to write an scripted data set that access another data set to get one filed value via its current row . I want to implement this method in fetch script with java script. I've stored the other Data set in "DataS" as global variable. I've written this code but it throws exception: if(count < stock.size()){ row["columnDa...

Displaying computed data with external dependencies

I'm building a report that needs to include an 'estimate' column, which is based on data that's not available in the dataset. Ideally I'd like to be able to define a Java interface public int getEstimate(int foo_id, int bar_id, int quantity); where foo_id, bar_id and quantity are available in the row I want the estimate presented. T...

Overlay BIRT runtime into correct WAR locations

I'm trying to get Maven to assemble a WAR with the BIRT runtime in a useful location within the WAR. The BIRT runtime is in the pom.xml as <dependency> <groupId>org.eclipse.birt</groupId> <artifactId>report-engine</artifactId> <version>2.3.2</version> <type>zip</type> <scope>runtime</scope> </dependency> The desired outcome...

Birt data source parameters from a property file

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? ...

Own Exception Handling with BIRT RCP Designer...

Hello! Is it possible to implement own exception handling for exceptions that are thrown when the report is generated? I want to supress the printing of error messages at the end of the report and instead show an alternate text at the section of the report which has caused the exception. Thanks (Using the RCP - Designer V. 2.1.3) ...

add row detail to tableHandle

Hi, I am using BIRT DEAPI and i want to add a detail row to my table that alreadey exists TableHandle table = (TableHandle) findElementHandle(design .getBody(), 137); RowOperationParameters params= new RowOperationParameters(0, -1, 1); table.insertRow(params); the problem is i can't unrestand what is RowOperationParameter...

How do I get the fully-qualified object name in a BIRT report?

I have a BIRT report in Rational Software Architect that outputs an element's name in one column. When I run the report on my whole project, I get lots of duplicate columns because I have elements with the same (unqualified) name in different packages. How can I edit the BIRT report to use the fully-qualified name? ...

Eclipse 3.4 + BIRT - Preview Not Working in Report Designer.

Windows Vista behind ISA Server 2004 (on different machine). I'm running Eclipse 3.4 and whatever version of BIRT that comes out of "Software Updates...". I can't seem to preview any of my reports in Report Design. When prompted for report parameters, I get a "Network Access Message: The page cannot be displayed..." message. It's the...

Hitting some limit under z/OS with DB2 Connect JDBC t4 driver.

We have an application connecting to DB2 under z/OS and, after a while, there seems to be some resource limit being hit on the mainframe side. Since we're using BIRT, it seems the only control we have over the JDBC code is with stanzas in the URL itself. we don't have direct Java control over the connection or statements (except for the ...

accessing parameters when writing a scripted BIRT data source in java

Hi everyone, I am using BIRT reporting with a scripted POJO data source and am having trouble accessing report parameters. I am scripting everything in Java, rather than javascript. The code is below: public class StockDataSetHandler extends ScriptedDataSetEventAdapter { ... @Override public void open(IDataSetInstance dataSet) { ...

Problem including dynamic image in Eclipse BIRT 2.5.0 report on Windows

I have a BIRT 2.5.0 report design with a dynamic image (URL is specified through report parameter, image formats tried - .png, .bmp). When running the report from our application on Ubuntu, everything renders OK. When doing exactly the same thing on Windows, there's following message instead of the actual image: Current report item is n...

Can BIRT pull out data from SQL Server?

I'm new to BIRT. I know it has a java based reporting engine. Can this engine talk to SQL Server and pull data? Thanx in advance. ...

Loading multiple document bookmarks in one web page from BIRT

I have an Eclipse BIRT report that contains a number of charts. It was decided that a number of these charts would be made available in widgets on our web app's dashboard. Each widget contains an iframe with the BIRT url as the source, something like this: <iframe src="http://localhost:8080/birt/run?__report=Summary.rptdesign&amp;__bo...

Co-ordinates of a element in a pdf file using iText

Hi all, I'm creating a pdf file using BIRT reporting library. Later I need to digitally sign these files. I'm using iText to digitally sign the document. The issue I'm facing is, I need to place the signature in different places in different reports. I already have the code to digitally sign the document, now I'm always placing the sig...

BIRT number to word as computed column

Hi fellow programmer I want to ask how to add a computed column in BIRT that compute a number to its word representation? (ex. 100 to "one hundred") So in my data set I can have a column that holds the string I'm new at BIRT hopefully there's a pointer or two for me ...

Birt report file path

I'm trying to setup Birt running under Jetty. I can get the "congratulations" report to run: http://10.10.11.1:8080/reports/frameset?%5F%5Freport=test.rptdesign&amp;sample=my+parameter However, I am not able to get any other reports to run. I have the BIRT viewer running from the "reports" context. Trying to run one of the sample repor...

BIRT:getParameterValues equivalent in BIRT

How do i fetch list box values in BIRT? The params[“”] can get is not helping for listbox. Thanks. Mp ...

Add Border in Detail row at the time of Page Break

hi, i am using a BIRT 2.1.1 engine for report genereration. In that i want to put the bottom border on details row at the time of page break./ How to do it. I was trying this using onPageBreak Event of data item. even if i am try to count the row and on that basis i was used the pagebreakafter style for page break this won;t give a ...