I have Google Web Toolkit SDK 1.7.0 installed as well as the Google
Plugin for Eclipse 3.5 and Google App Engine Java SDK 1.2.2.

My page works fine in Firefox but when I try to view it in IE 7 or 8,
I get the error:

'undefined' is null or not an object


I compiled the code with Detailed output style and found that the
problem is in the maybeStartModule() function:

In particular, iframe.contentWindow returns null/undefined.

 function maybeStartModule(){
    if (scriptsDone && loadDone) {
      var iframe = $doc.getElementById($intern_1);
      var frameWnd = iframe.contentWindow;
      if (isHostedMode()) {
        frameWnd.__gwt_getProperty = function(name){
          return computePropValue(name);
        }
        ;
      }
      notebook = null;
      frameWnd.gwtOnLoad(onLoadErrorFunc, $intern_1, base);
      $stats && $stats({moduleName:$intern_1, subSystem:$intern_2,
evtGroup:$intern_6, millis:(new Date()).getTime(), type:$intern_7
    }
  }


The actual HTML of my page looks like this:

<body>

    <h1>Notebook</h1>
    <div id="Notebook"></div>
    <!-- OPTIONAL: include this if you want history support -->
<!--
    <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1'
style="position:absolute;width:0;height:0;border:0"></iframe>
-->

  </body>

Why is this happening and what can I do to fix it?

Thanks for any help or guidance!
-matthew

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