I've written an image gallery widget in GWT that uses floating div's
to expand and move images along a horizontal axis in response to mouse
movements.  Everything works fine in Firefox, but IE refuses to load
the module.  It complains about the following in the bootstrap
Gallery.nocache.js file:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/
4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Timestamp: Thu, 16 Jul 2009 18:12:09 UTC


Message: 'undefined' is null or not an object
Line: 38
Char: 7
Code: 0
URI: file:///C:/pub/media/alixisdizzy/Gallery/Gallery.nocache.js

Here's the code in question:

  function maybeStartModule(){
    if (scriptsDone && loadDone) {
      var iframe = $doc_0.getElementById('Gallery');
      var frameWnd = iframe.contentWindow;
      if (isHostedMode()) {
        frameWnd.__gwt_getProperty = function(name_0){
          return computePropValue(name_0);
        }
        ;
      }
      Gallery = null;
      frameWnd.gwtOnLoad(onLoadErrorFunc, 'Gallery', base); // HERE
      $stats && $stats({moduleName:'Gallery', subSystem:'startup',
evtGroup:'moduleStartup', millis:(new Date()).getTime(), type:'end'});
    }
  }

I'm quite baffled by this.  I've even commented out my own onModuleLoad
() implementation and replaced it with an empty one:
public void onModuleLoad() {}
and it still gives me the same error.  I've tried a number of X-UA-
Compatible variations (IE7, EmulateIE7, IE8) and it doesn't seem to
help.  What's going on here?
--~--~---------~--~----~------------~-------~--~----~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to