Have you ensured that the gwt script tag occurs after everything else? Or tried a deferred command in the onModuleLoad which calls a routine to do everything currently in the onModuleLoad ? That should be queued until everything else is done.If your other js is deferring stuff too, then a deferred command in a deferred command would jump it to the end of the queue again, or failing that, a timer.
Ian http://examples.roughian.com 2009/6/2 eggsy84 <[email protected]> > > Hi all, > > Using the GWT EntryPoint is there anyway to make sure that the entry > point isn't invoked until the rest of the document is loaded? > > I have made a widget that can be shown on various pages and sometimes > due to one thing or another the widget fails to render but when this > happens it stalls the browser and doesn't continue to render the rest > of the document? > > Is there anyway to not invoke onModuleLoad until the document has > loaded? > > Many thanks, > > Eggsy > > PS. I'm aware that our architecture should have some form of timeout > really but at the moment this is the most expedient way. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
