Tuesday, October 21, 2014

Re: White Screen GWT module



Terça-feira, 21 de Outubro de 2014 12:33:53 UTC+1, Jens escreveu:
I also try to put an alert in the first line of my Entrypoint, but the alert also doesn't appear. 

If the entry point does not get executed and there are no other errors then I would check the network requests / responses of the browser in more detail. Maybe your web server has some redirect rules or similar and it does not return the real app.nocache.js file but instead the index.html file or similar.

You could also add:

<meta name="gwt:onLoadErrorFn" content="onGwtModuleLoadError"/>
<script type="text/javascript">
  function onGwtModuleLoadError(message) {
  alert("onGwtModuleLoadError(" + message + ")");
}
</script>

I try this, no changes. 

to your host page. As a last resort just open app.nocache.js and add an alert() in the first line to check if it somehow gets executed. If it doesn't then there is something strange with your web server.
I try this and the alert  appears, so my *.nocache.js is executed.

Thanks again Jens for your time and effort.

Best regards,

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment