We have developed a fairly complex business application using the Google 
Web Toolkit for the front-end rendering.

Our application is working correctly on all modern browsers (Chrome, 
Firefox, Safari and IE9). In order to use standards mode we have put

<!DOCTYPE html>

in the GWT bootstrap.

The problems arise when trying to use earlier IE versions and the 
application stops loading at the initial splash screen. After 
investigating, it seems that the GWT deferred binding correctly 
(1<http://stackoverflow.com/questions/9769868/addeventlistener-not-working-in-ie8>
, 
2<https://developer.mozilla.org/en-US/docs/DOM/element.addEventListener#Legacy_Internet_Explorer_and_attachEvent>)
 
callsattachEvent for IE < 9 and addEventListener for IE 9. However, IE 8 
throws a TypeErrorexception of type undefined_method for the attachEvent call. 
Note that this happens whenever GWT calls attachEvent and not just for a 
specific event. We can confirm because when we override the deferred 
binding for a specific class the problem appears at the next attachEvent
 call.

Trying to override everything seems like a way to overcome the problem but 
it isn't optimal, especially keeping in mind that IE < 9 is supposed to 
have the attachEvent method according to the specification.

Does anyone know something about getting to the root of this problem?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/HZH6lJQYxh4J.
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