Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » How to access parent row data or bound dataset parameter from sub-report Java event handler
How to access parent row data or bound dataset parameter from sub-report Java event handler [message #628989] Sat, 25 September 2010 15:55 Go to next message
Eric C. is currently offline Eric C.Friend
Messages: 4
Registered: September 2010
Junior Member
How do I access parent dataset row values or get the value for a bound dataset parameter from within Java (not javascript) scripting event handlers?

[Updated on: Sat, 25 September 2010 20:21]

Report message to a moderator

How to access parent row data or bound dataset parameter from sub-report Java event handler [message #629002 is a reply to message #628989] Sat, 25 September 2010 20:01 Go to previous messageGo to next message
Eric C. is currently offline Eric C.Friend
Messages: 4
Registered: September 2010
Junior Member
Using javascript, one can do this simply by calling accessing params["xxxxx"], is this possible from within the beforeOpen() event handler methods using a Java ScriptedDataSetEventAdapter

[Updated on: Sat, 25 September 2010 20:24]

Report message to a moderator

Re: How to access parent row data or bound dataset parameter from sub-report Java event handler [message #629006 is a reply to message #628989] Sat, 25 September 2010 20:44 Go to previous message
Eric C. is currently offline Eric C.Friend
Messages: 4
Registered: September 2010
Junior Member
BTW, figured it out.

Simple need to call reportContext.evaluate("row['" + columnName+ "']");
Previous Topic:Add Columns to Grid / GridHandle?
Next Topic:Yellowfin launches new iPAD Business Intelligence application
Goto Forum:
  


Current Time: Mon Dec 22 10:48:23 GMT 2014

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

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