Both of the script "mymodule.nocache.js" and "BDAC1610913660F7525C05DB3B100E5D.cache" are loaded fine, but "onModuleLoad" never started.
and another similar case - I want to inject GWT application from JS (on button press for example). No luck with "onModuleLoad" again.
The answer is:
- <img> tags do not block page evaluation.
- The body.onload() event will only fire once all external resources are fetched, including images and frames.
- The GWT selection script will be fetched and evaluated like a normal script tag, but the compiled script will be fetched asynchronously.
- Once the GWT selection script has started, its onModuleLoad() can be called at any point after the outer document has been parsed.
- <img> tags are not guaranteed to be done loading when onModuleLoad() is called
Are there anyway to start GWT application manually, without "onModuleLoad() can be called at any point after the outer document has been parsed."
--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment