X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=blobdiff_plain;f=Pman.Dialog.AdminEnumType.bjs;h=024351404a3a93630483bbef546f0ea24df108c0;hp=2c4e484e5e56b180790ee672342bfa361cabbc9b;hb=HEAD;hpb=c93c89201677702587f4e4b82e44b92dbf43b828 diff --git a/Pman.Dialog.AdminEnumType.bjs b/Pman.Dialog.AdminEnumType.bjs index 2c4e484..0243514 100644 --- a/Pman.Dialog.AdminEnumType.bjs +++ b/Pman.Dialog.AdminEnumType.bjs @@ -1,25 +1,98 @@ { - "name" : "Pman.Dialog.AdminEnumType", - "parent" : "", - "title" : "", - "path" : "/home/michael/gitlive/Pman.Admin/Pman.Dialog.AdminEnumType.bjs", - "permname" : "", - "modOrder" : "001", - "items" : [ + "name" : "Pman.Dialog.AdminEnumType", + "parent" : "", + "title" : "", + "path" : "/home/alan/gitlive/Pman.Admin/Pman.Dialog.AdminEnumType.bjs", + "permname" : "", + "modOrder" : "001", + "strings" : { + "7dce122004969d56ae2e0245cb754d35" : "Edit", + "b48968e1c912da07df5e8d6d246291ec" : "Display Name", + "ea4788705e6873b424c65e91c2846b19" : "Cancel", + "49ee3087348e8d44e1feda1917443987" : "Name", + "c9cc8cce247e49bae79f15173ce97354" : "Save" + }, + "named_strings" : { + "display_name_fieldLabel" : "b48968e1c912da07df5e8d6d246291ec", + "name_fieldLabel" : "49ee3087348e8d44e1feda1917443987" + }, + "items" : [ + { + "Boolean modal" : true, + "Number width" : 480, + "xtype" : "LayoutDialog", + "Number height" : 160, + "Boolean resizable" : false, + "$ xns" : "Roo", + "String title" : "Edit", + "items" : [ + { + "xtype" : "LayoutRegion", + "$ xns" : "Roo", + "* prop" : "center\n" + }, + { + "xtype" : "ContentPanel", + "$ xns" : "Roo", + "String region" : "center", + "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}" + }, + "$ url" : "baseURL + '/Roo/Core_enum'", + "xtype" : "Form", + "$ xns" : "Roo.form", + "items" : [ { - "xtype" : "LayoutDialog", - "$ xns" : "Roo", - "items" : [ - { - "xtype" : "LayoutRegion", - "$ xns" : "Roo", - "String title" : "Edit" - }, - { - "xtype" : "ContentPanel", - "$ xns" : "Roo" - } - ] + "Boolean allowBlank" : false, + "String name" : "name", + "Number width" : 270, + "xtype" : "TextField", + "String fieldLabel" : "Name", + "$ xns" : "Roo.form" + }, + { + "String name" : "id", + "xtype" : "Hidden", + "$ xns" : "Roo.form" + }, + { + "String name" : "etype", + "xtype" : "Hidden", + "$ xns" : "Roo.form" + }, + { + "String name" : "display_name", + "Number width" : 270, + "xtype" : "TextField", + "String fieldLabel" : "Display Name", + "$ xns" : "Roo.form" } - ] + ] + } + ] + }, + { + "listeners" : { + "click" : "function (_self, e)\n{\n //this.url = baseURL + '/Roo/Core_enum.php';\n //_this.dialog.el.mask(\"Saving\");\n _this.form.doAction(\"submit\");\n}" + }, + "xtype" : "Button", + "String text" : "Save", + "$ xns" : "Roo", + "* prop" : "buttons[]" + }, + { + "listeners" : { + "click" : "function (_self, e)\n{\n _this.dialog.hide();\n}" + }, + "xtype" : "Button", + "String text" : "Cancel", + "$ xns" : "Roo", + "* prop" : "buttons[]" + } + ] + } + ] } \ No newline at end of file