I tried both solutions, with no result. I'm testing it on both IE7 and
IE8. Thought it fails to run on both.
---------------------------- GREP -rn undefined
grep -rn undefined *
verenweb/B4235FD66736D1D8EBE34C5FC05A7C85.cache.html:1770:
wnd.__gwt_initWindowCloseHandler = undefined;
---------------------------- FUNCTION
_ = ElementMapperImpl.prototype = new Object_0();
_.getClass$ = getClass_22;
_.typeId$ = 0;
function $getWindowCloseHandlerMethodString(){
return function(beforeunload, unload){
var wnd = window, oldOnBeforeUnload = wnd.onbeforeunload,
oldOnUnload = wnd.onunload;
wnd.onbeforeunload = function(evt){
var ret, oldRet;
try {
ret = beforeunload();
}
finally {
oldRet = oldOnBeforeUnload && oldOnBeforeUnload(evt);
}
if (ret != null) {
return ret;
}
if (oldRet != null) {
return oldRet;
}
}
;
wnd.onunload = function(evt){
try {
unload();
}
finally {
oldOnUnload && oldOnUnload(evt);
wnd.onresize = null;
wnd.onscroll = null;
wnd.onbeforeunload = null;
wnd.onunload = null;
}
}
;
wnd.__gwt_initWindowCloseHandler = undefined;
}
.toString();
}
----------------------------
---------------------------- DocoMain.gwt.xml
<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<!--<meta http-equiv="X-UA-Compatible" content="IE=7">-->
----------------------------
On Jul 1, 12:11 am, Thomas Broyer <[email protected]> wrote:
> On 30 juin, 12:24, snikrot <[email protected]> wrote:
>
> > Hi all,
>
> > Since a few days I've been developing a GWT-Web application (so I'm
> > still pretty much a newbie). This application only (for now) runs only
> > client sided. After compiling and running under Firefox & Opera my
> > application just runs fine. When running under Internet Explorer I'm
> > getting an error though. I'm wondering if anyone knows the solution to
> > get rid of this error?
>
> Are you using IE8? If so, until 1.6.5 is released and you make the
> switch, you have to set IE8 in compat mode; e.g. by including the
> following in your HTML:
> <meta http-equiv=X-UA-Compatible content="IE=EmulateIE7">
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---