},
{
"xtype" : "ContentPanel",
- "String region" : "center",
"$ xns" : "Roo",
+ "String region" : "center",
"items" : [
{
"listeners" : {
- "rendered" : "function (form)\n{\n _this.form = this;\n}",
- "|actioncomplete" : "function (_self, action)\n{\n if(action.type == 'submit'){\n _this.dialog.hide();\n }\n}"
+ "|actioncomplete" : "function (_self, action)\n{\n if(action.type == 'submit'){\n _this.dialog.hide();\n }\n}",
+ "rendered" : "function (form)\n{\n _this.form = this;\n}"
},
"$ url" : "baseURL + '/Roo/Core_enum'",
"xtype" : "Form",
{
'|xns' : 'Roo',
xtype : 'ContentPanel',
- region : 'center',
xns : Roo,
+ region : 'center',
items : [
{
'|xns' : 'Roo.form',
xtype : 'Form',
xns : Roo.form,
listeners : {
- rendered : function (form)
- {
- _this.form = this;
- },
actioncomplete : function (_self, action)
{
if(action.type == 'submit'){
_this.dialog.hide();
}
+ },
+ rendered : function (form)
+ {
+ _this.form = this;
}
},
items : [