Hi bcsumner,

Thanks for your help, strange that I didn't receive the post in my
inbox. I got the problem again and that pointed me back to this
page :-). (At that time I received and answer on
http://code.google.com/p/google-web-toolkit/issues/detail?id=4274
(which is a well referenced site so that people can find the solution
in the first google results).

Thanks Chris, I think the problem is not related to the plugin but to
the borwser (and so to gwt that compiles files to the same name): I
got back to branch to fix a bug and I come up with the same issue. Now
I'm wondering if all website users will have the issue on their
browser...

Best Regards
Zied Hamdi
http://www.larueacote.fr

On Jan 29, 2:19 am, bcsumner <[email protected]> wrote:
> I had a similar problem in my application.  After upgrading to 2.0
> from 1.7 I got a blank page in dev mode and an error in the Firefox
> Javascript console saying "external.gwtOnLoad is not a function".
> After trying a bunch of stuff without much luck, I changed the name of
> my module, the reference to the application js in the "launcher" html
> (if you generated your project using the eclipse templates this is
> "<project root>/war/<module name>.html"), and the name of the
> "launcher" html page.  Everything seems to work fine now.  I had seen
> hints elsewhere that this may be due to artifacts from old compiles
> still hanging around, but I didn't take the time to research it
> fully.  My guess is you don't really need to change the name of the
> launcher html and that just renaming the module and the reference to
> it in the html is enough, but I didn't go back to check since I wanted
> the names in sync anyway.  Hope that helps.
>
> On Dec 15 2009, 12:39 pm, "Zied Hamdihttp://nextstreet.eu";
>
>
>
> <[email protected]> wrote:
> > Hi,
>
> > I moved my 1.6 project to the new 2.0 GWT under eclipse and since that
> > moment I can't evolve anymore (since 2 days): I have javascript errors
> > that doesn't even let the code reach the onModuleLoad() method. I did
> > an upgrade on my eclipse so it's impossible to return back to the 1.6
> > version (didn't find any link to download the older versions), I think
> > I've reached the point of no return :-) so I really must get out of
> > this situation but I have no clue about
> > what's going wrong. In the code :
>
> > 17functiongwtOnLoad(errFn, modName, modBase){
> > 18 $moduleName = modName;
> > 19 $moduleBase = modBase;
> > 20 if (!external.gwtOnLoad(window, modName, "1.6")) {
> > 21 if (errFn) {
> > 22 errFn(modName);
> > 23 }
> > 24 }
> > 25}
>
> > externalexists but it doesn't contain anygwtOnLoadmethod. that's
> > all I can say, to find where is the 'external' definition, I don't
> > know how to do, and I'm convinced I find my self debugging the GWT
> > java to js compiler that doesn't sound good at all :-).
>
> > Any help is really really welcome,
> > Best Regards,
> > Zied

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