I have a table that has URI hyperlinks on it. When you click on the hyperlink it is supposed to take you to another report and pass a parameter to the 2nd report. This works fine in Chrome, but in fails in FF and IE.
In FF, it opens a new tab with nothing in it. (It does no navigation.)
In IE, it throws the following error:
SCRIPT438: Object doesn't support property or method 'execCrossNavigation'
script block (1), line 1 character 1
the line it is referring to is this line:
parent.execCrossNavigation(this.name,'ProductAppUser','Product=AppName');
which is the line i put in the URI javascript field in my report. The parent object should be able to use that method b/c it uses that method perfectly fine in Chrome.
Comments
Alberto Ghedin added a comment - 2014-12-12T12:53:23.304+0100
Actually it’s a strange behaviour. Can you add the code of the hyperlink?
it should be some think like "javascript:"
siladitya dash added a comment - 2016-04-07T14:43:03.571+0200
Did you got the reply if not here is the code which I had on Jasper.
Details
People
Dates
Description
I have a table that has URI hyperlinks on it. When you click on the hyperlink it is supposed to take you to another report and pass a parameter to the 2nd report. This works fine in Chrome, but in fails in FF and IE.
In FF, it opens a new tab with nothing in it. (It does no navigation.) In IE, it throws the following error:
SCRIPT438: Object doesn't support property or method 'execCrossNavigation' script block (1), line 1 character 1
the line it is referring to is this line: parent.execCrossNavigation(this.name,'ProductAppUser','Product=AppName');
which is the line i put in the URI javascript field in my report. The parent object should be able to use that method b/c it uses that method perfectly fine in Chrome.
Comments
Alberto Ghedin added a comment - 2014-12-12T12:53:23.304+0100
Actually it’s a strange behaviour. Can you add the code of the hyperlink? it should be some think like "javascript:"
siladitya dash added a comment - 2016-04-07T14:43:03.571+0200
Did you got the reply if not here is the code which I had on Jasper.
"javascript:parent.execCrossNavigation(this.name,'NavigateTestReport2','&UserProfileID="+$P{UserProfileID}+ ($P{CF_ID}== null || $P{CF_ID}.isEmpty()==true? "" : "&CF_ID1="+$P{CF_ID}.replaceAll("'",""))+"&outputType=html','','','self');"