1. Attributes ownerCt: Get the container where the current object is located.
items: collection list
2. Application examples
Ext.onReady(function(){
var _window = new Ext.Window({
title:"Test Form",
layout:"form",
width:300,
plain:true,
items:{
id:"name",
xtype:"textfield",
fieldLabel:"name"
},
buttons:[{
text:"OK",
handler:function(){
alert(this.ownerCt.ownerCt.items.first().getValue());
alert (this.ownerCt.ownerCt.items.itemAt(0).getValue()) ;
alert(Ext.getCmp("name").getValue()) ;
}
}]
}) ;
_window.show() ;
}) ;