Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Using java with RCP BIRT
Using java with RCP BIRT [message #519120] Sat, 06 March 2010 18:35 Go to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: March 2010
Junior Member
I'm using BIRT v. 2.5 RCP and I want do a interface for choose two tables and manage some parameters. How can I do it?
Thanks
Re: Using java with RCP BIRT [message #519379 is a reply to message #519120] Mon, 08 March 2010 16:31 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Can you give some more detail on what you are trying? Are you wanting
to call Java from BIRT or create a BIRT report using Java?

Jason

agtn_agtn@yahoo.es wrote:
> I'm using BIRT v. 2.5 RCP and I want do a interface for choose two
> tables and manage some parameters. How can I do it?
> Thanks
Re: Using java with RCP BIRT [message #519446 is a reply to message #519379] Mon, 08 March 2010 20:38 Go to previous message
No real name is currently offline No real nameFriend
Messages: 2
Registered: March 2010
Junior Member
Well, the idea is to build a sql statement with a date and access the particular table (this is a historical database with some tables).

The call would be made at an event before calling the dataset.

I think rhino can run swing or awt interface, but for now, I'm investigating. But some help won't be bad.

Greetings.
Re: Using java with RCP BIRT [message #519467 is a reply to message #519446] Mon, 08 March 2010 17:26 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

In the beforeFactory script you can call any Java class in the classpath
as long as you import the package like:

importPackage(Packages.java.lang)

var myjsvar = new Integer(5);

You can also write the events in Java. Take a look at the bottom of
this page.
http://www.eclipse.org/birt/phoenix/deploy/reportScripting.p hp

Jason

agtn_agtn@yahoo.es wrote:
> Well, the idea is to build a sql statement with a date and access the
> particular table (this is a historical database with some tables).
> The call would be made at an event before calling the dataset.
>
> I think rhino can run swing or awt interface, but for now, I'm
> investigating. But some help won't be bad.
>
> Greetings.
Previous Topic:Dynamic Embedded Images
Next Topic:Problems with images from shared resources in PDF output
Goto Forum:
  


Current Time: Thu Sep 26 02:00:07 GMT 2024

Powered by FUDForum. Page generated in 0.02753 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top