Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14:57
donino donino is currently offline donino doninoFriend
Messages: 183
Registered: July 2011
Senior Member
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 15:16]

Report message to a moderator

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


Current Time: Fri Apr 26 22:41:40 GMT 2024

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

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

Back to the top