Actually, now that I think about it, I'm pretty sure that the code in onModuleLoad doesn't get run until after the page is fully loaded. So you can't have static JavaScript in your HTML that runs right away call functions exported from Java that aren't there until after the page loads. You could use more JSNI code to call a start function in JavaScript from onModuleLoad after you call exportStaticMethod. I believe that that would work.
-----Original Message----- From: Google-Web-Toolkit@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mogoye Sent: Friday, October 10, 2008 10:54 To: Google Web Toolkit Subject: Re: Problem with javascript accessing Java fct. Thx for your very fast answer. But't it does not resolve the problem, I've got the same error. --~--~---------~--~----~------------~-------~--~----~ 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-Toolkit@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---