we are creating a popup panel in a web page and it is created with the
next code:
_ = com_google_gwt_user_client_ui_impl_PopupImpl.prototype = new
java_lang_Object();
_.java_lang_Object_typeName =
'com.google.gwt.user.client.ui.impl.PopupImpl';
_.java_lang_Object_typeId = 0;
function
com_google_gwt_user_client_ui_impl_PopupImplIE6_createElement__(){
var outer = $doc.createElement('div');
var frame = $doc.createElement('iframe');
outer.appendChild(frame);
frame.scrolling = 'no';
frame.style.zIndex = -1;
frame.frameBorder = 0;
outer.style.position = 'absolute';
frame.style.position = 'absolute';
return outer;
}
The problem comes when we load web page with IE 6, which one no support
iframes without src content in https connections showing this message:
"This page contains both secure and nonsecure items
Do you want to display the nonsecure items?"
If we load the popup panel with this code: ( frame.src = "./"; line is
the change)
_ = com_google_gwt_user_client_ui_impl_PopupImpl.prototype = new
java_lang_Object();
_.java_lang_Object_typeName =
'com.google.gwt.user.client.ui.impl.PopupImpl';
_.java_lang_Object_typeId = 0;
function
com_google_gwt_user_client_ui_impl_PopupImplIE6_createElement__(){
var outer = $doc.createElement('div');
var frame = $doc.createElement('iframe');
outer.appendChild(frame);
frame.scrolling = 'no';
frame.style.zIndex = -1;
frame.src = "./";
frame.frameBorder = 0;
outer.style.position = 'absolute';
frame.style.position = 'absolute';
return outer;
}
Then we don't have any problem.
Anyone knows how to solve this problem in IE6 with GWT?
We are using 1.0.20 gwt version. Does it is resolved in later versions?
Thanks in advance
Javier
http://code.google.com/p/google-web-toolkit/issues/detail?id=174
For some reason, the fix didn't make it into the new version.
Javier