Sunday, October 2, 2011

GWT JSNI Bridge Question

I am not an expert in Javascript. However, I have a need to make a
call, via a <script> tag in HTML that is dynamically loaded into an
iframe (GWT Frame instance). In a nutshell, my native function and
export of that function appear to be working because I can see the
variables on the DOM tab in Firebug.

public static void myFunc(){
... } public static native void exportStaticMethod() /*-
{ $wnd.computeLoanInterest =
$entry(@mypackage.MyUtilityClass::computeLoanInterest(IFI)); }-*/;

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate