After a while returned to my GWT project, and unfortunately not
following this discussion, I found out, that problem was in the module
name (i.e. name collision). My module was named base.gwt.xml. In web
mode, in the javascript console I found the error
"base.onInjectionDone is not a function". I did a debugging using
Firefox's javascript debugger, and found out, that base is a global
variable, which overwrote "base" object with a string value. Then, of
course, function previously defined as base.onInjectionDone was not
found.

Renaming to something else helped (in my case to "basetemplate"). I
did the debugging in the "detailed" mode, but it did not work in the
obfuscated mode as well, even though I could not find the assignment
to the "base" variable in the obfuscated source. The error in the
error console was the same: "base.onInjectionDone is not a function".

In this case, I recommend not to use common words as module names...
And to the developers of gwt, to prefix module names with something to
avoid collision.

Viliam
--~--~---------~--~----~------------~-------~--~----~
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