PDA

View Full Version : borderlayout: trouble with select boxes within an embedded iframe



kplox
21 Aug 2007, 1:17 PM
i have an iframe within a collapsible panel that makes a call out to an existing application... but for some reason the select boxes within the iframe are not being displayed, as well was the iframe itself when expanded to fill the panel... any ideas? thanks in advance!


layout = new Ext.BorderLayout(document.body, {
west: {
split:true,
width: '70%',
titlebar: true,
collapsible: true,
animate: true
},
center: {
titlebar: false,
autoScroll:true,
closeOnTab: true
}
});

layout.beginUpdate();

var iframe = Ext.DomHelper.append(document.body, {
tag: 'iframe',
frameBorder: 0,
src: 'http://ExternalAppWithSelectBoxes'
});

var panel = new Ext.ContentPanel(iframe, {
title: 'test',
fitToFrame:true,
closable:true
});

layout.add('west', panel);

layout.add('center', new Ext.ContentPanel('generateReportPane'));
layout.getRegion('center').showPanel('generateReportPane');

layout.endUpdate();
layout.getRegion('west').collapse(true);