},
{
"xtype" : "ContentPanel",
- "$ xns" : "Roo",
"String region" : "center",
+ "$ xns" : "Roo",
"items" : [
{
"listeners" : {
- "|actioncomplete" : "function (_self, action)\n{\n if(action.type == 'submit'){\n _this.dialog.hide();\n \n if(_this.callback){\n _this.callback.call(_this, _this.form.getValues());\n }\n return\n }\n}",
- "rendered" : "function (form)\n{\n _this.form = this;\n}"
+ "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 if(_this.callback){\n _this.callback.call(_this, _this.form.getValues());\n }\n return\n }\n}"
},
"$ url" : "baseURL + '/Roo/Core_enum'",
"xtype" : "Form",
"$ xns" : "Roo.form",
"items" : [
{
+ "Boolean allowBlank" : false,
"String name" : "name",
"Number width" : 270,
"xtype" : "TextField",
{
'|xns' : 'Roo',
xtype : 'ContentPanel',
- xns : Roo,
region : 'center',
+ xns : Roo,
items : [
{
'|xns' : 'Roo.form',
xtype : 'Form',
xns : Roo.form,
listeners : {
+ rendered : function (form)
+ {
+ _this.form = this;
+ },
actioncomplete : function (_self, action)
{
if(action.type == 'submit'){
}
return
}
- },
- rendered : function (form)
- {
- _this.form = this;
}
},
items : [
{
'|xns' : 'Roo.form',
+ allowBlank : false,
name : 'name',
width : 270,
xtype : 'TextField',