Skip to main content



      Home
Home » Archived » BIRT » Drill through to javascript function instead of URL (How to remove target="x" attribute in a custom drill through ActionHandler)
Drill through to javascript function instead of URL [message #768087] Mon, 19 December 2011 09:57
Eclipse UserFriend
Hi,

In my application i need to manage drill through with a javascript function, not a classic URL. Then i implemented a custom IHTMLActionHandler, in wich i build the action URL with something like:
String actionURL = "javascript:customDrillThrough('"
                   +reportName
                   +"','"
                   +getParameterMap(action, context)
                   +"')";




It works pretty well in any browsers except Internet explorer: even with a javascript call, IE tries to open a new window because of target="_blank" attribute. So my question is: is it possible to remove this target attribute on a drillthrough action? Currently the only solution i found is to remove it with jquery client-side code, but it's not very elegant and doesnt work for charts hyperlinks.

Thanks!

[Updated on: Mon, 19 December 2011 10:16] by Moderator

Previous Topic:Dynamic BIRT help
Next Topic:'birtutility' is undefined
Goto Forum:
  


Current Time: Wed Jul 16 12:54:28 EDT 2025

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

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

Back to the top