View Full Version : RC1 FormPanel IE 6/7/8 IFRAME SSL BUG

30 Jun 2009, 12:11 PM
When using FormPanel's with IE over SSL the attached prompt is received. The bug is in the FormPanel when it creates the IFRAME an "Id" attribute needs to be added for IE to not have an issue.

privatevoid createFrame() {
// Attach a hidden IFrame to the form. This is the target iframe to which

// the form will be submitted. We have to create the iframe using innerHTML,

// because setting an iframe's 'name' property dynamically doesn't work on

// most browsers.

Element dummy = Document.get().createDivElement();
dummy.setInnerHTML("<iframe src=\"javascript:''\" name='" + frameName

+ "' style='position:absolute;width:0;height:0;border:0'>");

synthesizedFrame = dummy.getFirstChildElement();


14 Jul 2009, 9:53 AM
any update / comment on this bug?

22 Jul 2009, 5:12 AM
I also had an issue with the Display Secure And Nonsecure Items dialogbox, but it was not because of a bug in GXT. My problem was that I had an IFRAME in my index.html file, that didn't have the src=\"javascript:''\" attribute. Try checking your main html file for IFRAME lacking this attribute.

I have not experienced the IE security dialogbox because of lacking Id attribute in GXT form panels.