Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 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

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('"
                   +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.


[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: Tue Jun 19 07:07:35 GMT 2018

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

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

Back to the top