I compiled Hello Sample from GWT SDK and tried to run it in Chrome.
But it doesn't work. Only empty page. In IE and Firefox it works fine.
After some debugging I found that cause of this.
In  last rows of any *.cache.html (not hello.nocache.js) gwt compiler
append following code
      if ($wnd.hello) $wnd.hello.onScriptLoad();
but $wnd.hello is undefined. So onScriptLoad() function isn't invoked.
In firefox and IE $wnd.hello equals to hello() function from
hello.nocache.js which boots GWT module. hello() function store in
itself code which complete module initialization after all js and
resources loaded. So if onScriptLoad isn't invoked  the initialization
never done.

Does anybody have this issues with their chrome?

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to