Based on the code at:

http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI.html#calling

I can successfully export a Java method written in GWT as a Javascript
function to be called by external Javascript.  The problem I'm having
is with timing.

Specifically, the JSNI-exported method is exported as a global
javascript method by calling exportStaticMethod() in a GWT module
EntryPoint.  My issue is that if I attempt to call the global
javascript method from onLoad function in the html document, it seems
the GWT module loading process has not completed yet and the
javascript method has not yet been exported yet.

Is there some way to have my native javascript in the html document
execute AFTER all the GWT module loaders have completed?  Or am I
missing something here?

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

Reply via email to