popup panel create a iframe without src and ie6 show a security message in https

71 views
Skip to first unread message

javiti

unread,
Oct 31, 2006, 9:56:46 AM10/31/06
to Google Web Toolkit
Hello,

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

Josh Hinman

unread,
Oct 31, 2006, 12:27:29 PM10/31/06
to Google Web Toolkit
This is a known bug:

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.

javiti

unread,
Nov 1, 2006, 4:54:14 PM11/1/06
to Google Web Toolkit
Thanks for the reply Josh

Javier

Reply all
Reply to author
Forward
0 new messages