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 11:55 Go to next message
Eric C. is currently offline Eric C.
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 16: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 16:01 Go to previous messageGo to next message
Eric C. is currently offline Eric C.
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 16: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 16:44 Go to previous message
Eric C. is currently offline Eric C.
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: Thu Jul 31 13:48:53 EDT 2014

Powered by FUDForum. Page generated in 0.01780 seconds