Friday, August 8, 2014

JSNI function not called in Chrome

Hi,

I have developed a gwt application which uses jsni-function to trigger some Birt-Reports. 

JSNI function is definied as follows:

public native void setCallDrillReport(ReportPanel rep)/*-{
$wnd.callReport = function (url) {
$entry(rep.@packageToMyClass.Classname::triggerDrillReport(Ljava/lang/String;) (url));
};

}-*/;

The javascript call from Birt Report looks as follows:

<a href="javascript:callReport('Parameter1 = x...');" target="_top" title="Report">title</a>

The call to the jsni method works well in all tested browsers but Google Chrome. Does anybody know where the problem could be?

Thanks and regards Rainer

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment