sync
[Pman.Admin] / Pman.Dialog.AdminEnumType.bjs
1 {
2  "name" : "Pman.Dialog.AdminEnumType",
3  "parent" : "",
4  "title" : "",
5  "path" : "/home/alan/gitlive/Pman.Admin/Pman.Dialog.AdminEnumType.bjs",
6  "permname" : "",
7  "modOrder" : "001",
8  "strings" : {
9   "7dce122004969d56ae2e0245cb754d35" : "Edit",
10   "b48968e1c912da07df5e8d6d246291ec" : "Display Name",
11   "ea4788705e6873b424c65e91c2846b19" : "Cancel",
12   "49ee3087348e8d44e1feda1917443987" : "Name",
13   "c9cc8cce247e49bae79f15173ce97354" : "Save"
14  },
15  "named_strings" : {
16   "display_name_fieldLabel" : "b48968e1c912da07df5e8d6d246291ec",
17   "name_fieldLabel" : "49ee3087348e8d44e1feda1917443987"
18  },
19  "items" : [
20   {
21    "Boolean modal" : true,
22    "Number width" : 480,
23    "xtype" : "LayoutDialog",
24    "Number height" : 160,
25    "Boolean resizable" : false,
26    "$ xns" : "Roo",
27    "String title" : "Edit",
28    "items" : [
29     {
30      "xtype" : "LayoutRegion",
31      "$ xns" : "Roo",
32      "* prop" : "center\n"
33     },
34     {
35      "xtype" : "ContentPanel",
36      "$ xns" : "Roo",
37      "String region" : "center",
38      "items" : [
39       {
40        "listeners" : {
41         "|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}",
42         "rendered" : "function (form)\n{\n    _this.form = this;\n}"
43        },
44        "$ url" : "baseURL + '/Roo/Core_enum'",
45        "xtype" : "Form",
46        "$ xns" : "Roo.form",
47        "items" : [
48         {
49          "Boolean allowBlank" : false,
50          "String name" : "name",
51          "Number width" : 270,
52          "xtype" : "TextField",
53          "String fieldLabel" : "Name",
54          "$ xns" : "Roo.form"
55         },
56         {
57          "String name" : "id",
58          "xtype" : "Hidden",
59          "$ xns" : "Roo.form"
60         },
61         {
62          "String name" : "etype",
63          "xtype" : "Hidden",
64          "$ xns" : "Roo.form"
65         },
66         {
67          "String name" : "display_name",
68          "Number width" : 270,
69          "xtype" : "TextField",
70          "String fieldLabel" : "Display Name",
71          "$ xns" : "Roo.form"
72         }
73        ]
74       }
75      ]
76     },
77     {
78      "listeners" : {
79       "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}"
80      },
81      "xtype" : "Button",
82      "String text" : "Save",
83      "$ xns" : "Roo",
84      "* prop" : "buttons[]"
85     },
86     {
87      "listeners" : {
88       "click" : "function (_self, e)\n{\n    _this.dialog.hide();\n}"
89      },
90      "xtype" : "Button",
91      "String text" : "Cancel",
92      "$ xns" : "Roo",
93      "* prop" : "buttons[]"
94     }
95    ]
96   }
97  ]
98 }