Skip to main content



      Home
Home » Archived » BIRT » Mouse Click: referencing report objects from a script
Mouse Click: referencing report objects from a script [message #110182] Mon, 16 January 2006 17:52
Eclipse UserFriend
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
Previous Topic:Formatting a number within an expression
Next Topic:ReportViewer Execution
Goto Forum:
  


Current Time: Wed Jul 23 16:19:29 EDT 2025

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

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

Back to the top