Mouse Click: referencing report objects from a script [message #110182] |
Mon, 16 January 2006 17:52 |
Eclipse User |
|
|
|
Originally posted by: rrachamallu.hotmail.com
Hi,
I am new to Birt and am trying to implement a drill-down capability with
Birt reports integrated in to our web application. I cannot use URL's to get
to the report. Rather, I am supposed to call a java script and pass the
report name and parameters to it.
I tried to invoke a java script on a mouse click in a chart. In the RCP
designer, I clicked on the interactivity button of the series, chose
'Invoke Script' action for 'Mouse Click'. I was able to add a simple java
script (snippet of report design shown below). Can I reference the report
objects from within the script? If yes, Can you point me towards an example?
<Triggers>
<Condition>onclick</Condition>
<Action>
<Type>Invoke_Script</Type>
<Value xsi:type="attribute:ScriptValue">
<Script>alert('this is a test');</Script>
</Value>
</Action>
</Triggers>
Thanks
Reddy
|
|
|
Powered by
FUDForum. Page generated in 0.04235 seconds