I started with a new project and slowly added the components back in, tabs, labels, vertical panel, etc. and it all seems to work. Perhaps I deleted a GWT-generated file that I needed? I'm using GWT just for the client-side code and so deleted the server package that was generated by GWT. Could that be my problem? Is there a list of files you must not ever delete?
Thanks -matthew On Sep 8, 8:18 am, matthew <[email protected]> wrote: > I don't think so. I have the <div> tag and in onModuleLoad(), I add > my components to it by name. > > Here's my module right now: > > public Notebook implements EntryPoint { > > private VerticalPanel mainPanel = new VerticalPanel(); > private DecoratedTabPanel tabs = new DecoratedTabPanel(); > > public void onModuleLoad() { > > tabs.add(new HTML("Tab 1"), "Tab1"); > tabs.add(new HTML("Tab 2"), "Tab2"); > tabs.selectTab(0); > mainPanel.add(tabs); > RootPanel.get("Notebook").add(mainPanel); > } > > This does not display IE 8 but does in Firefox 3.5.2. > > -matthew > > On Sep 7, 5:41 am, Thomas Broyer <[email protected]> wrote: > > > On 4 sep, 22:00, matthew <[email protected]> wrote: > > > > 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? > > > Could it be this issue that you're > > facing?http://code.google.com/p/google-web-toolkit/issues/detail?id=4003 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
