Hi,
I just spend some time finding a possible issue. I didn't see this
anywhere in my Googling, so...
It is possible to have everything in a GWT project work fine in
Safari, Firefox, & Chrome, but fail in IE6 or IE7.
IE will show a Javascript error :
Error: 'undefined' is null or not an object
You can get this error if you happen to give the id attribute in both
your html and your RootPanel code the same name as your project.
Example:
Project name: mytest
File mytest.html: <div id="mytest"></div>
File MyTest.java: RootPanel.get("mytest").add(myPanel);
This will fail only in IE browsers.
If you simply change the text string in both places to be different
than the project name, it will work in all browsers.
I hope this helps.
--Shellum
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---