PDA

View Full Version : Loading HTML into Ext.Window(..)



Bleak
8 Sep 2011, 7:57 AM
Hi All,

I am looking to open a new Ext.Window() and have it load in an external html page. The primary reason, is I want the external HTML page to contain some structure, look and feel, etc. Once that page is loaded, I still would like to be able to add a form onto the externally loaded page.

Is this possible? The code below is the configuration I am passing into a new Ext.Window. The get items is attempting to build a form on this window as well.



var config = {
width: 500,
height: 500,
autoLoad : {
url : 'splash.html'
},
modal : true,
resizable : false,
closable : false,
plain : true,
unstyled : true,
items : this.getItems()
};



Hopefully I am being clear, basically I want to use the external page to give the window structure and then load forms, etc ontop of it.