PHP8
[Pman.BAdmin] / Pman.Dialog.BAdminCoreEnum.bjs
1 {
2  "name" : "Pman.Dialog.BAdminCoreEnum",
3  "parent" : "",
4  "title" : "",
5  "path" : "/home/edward/gitlive/Pman.BAdmin/Pman.Dialog.BAdminCoreEnum.bjs",
6  "permname" : "",
7  "modOrder" : "001",
8  "strings" : {
9   "d5cf6a6c4887716d7a14a84d9ba81b02" : "Add / Edit Pulldown Option",
10   "b48968e1c912da07df5e8d6d246291ec" : "Display Name",
11   "ea4788705e6873b424c65e91c2846b19" : "Cancel",
12   "688a7766da608ca2b2fe6a7d1c0d7ccb" : "Sequence Number",
13   "49ee3087348e8d44e1feda1917443987" : "Name",
14   "c9cc8cce247e49bae79f15173ce97354" : "Save"
15  },
16  "items" : [
17   {
18    "String cls" : "enable-overflow",
19    "xtype" : "Modal",
20    "$ xns" : "Roo.bootstrap",
21    "String title" : "Add / Edit Pulldown Option",
22    "items" : [
23     {
24      "listeners" : {
25       "actionfailed" : "function (_self, action)\n{\n    Roo.bootstrap.MessageBox.alert('Error', action.result.errorMsg);\n}",
26       "actioncomplete" : "function (_self, action)\n{\n    if(action.type == 'setdata') {\n    \n       if(_this.data.id * 1 > 0) {\n            \n            this.doAction('load',{ method: 'GET', params: { '_id' : _this.data.id }});\n        } \n        \n        return;\n    }\n   \n    if (action.type == 'load') {\n    \n        _this.data = action.result.data;\n        \n        return;\n    }\n    \n    \n    if (action.type == 'submit') {\n    \n        _this.dialog.hide();\n       \n        if (_this.callback) {\n            _this.callback.call(this, action.result.data);\n        }\n        \n        return; \n    }\n}",
27       "render" : "function (_self)\n{\n    _this.form = _self;\n}"
28      },
29      "$ url" : "baseURL + '/Roo/Core_enum' ",
30      "xtype" : "Form",
31      "String labelAlign" : "top",
32      "$ xns" : "Roo.bootstrap",
33      "Boolean loadMask" : true,
34      "items" : [
35       {
36        "String name" : "name",
37        "xtype" : "Input",
38        "string fieldLabel" : "Name",
39        "$ xns" : "Roo.bootstrap"
40       },
41       {
42        "String name" : "display_name",
43        "xtype" : "Input",
44        "string fieldLabel" : "Display Name",
45        "$ xns" : "Roo.bootstrap"
46       },
47       {
48        "String name" : "seqid",
49        "xtype" : "Input",
50        "string fieldLabel" : "Sequence Number",
51        "String inputType" : "number",
52        "$ xns" : "Roo.bootstrap"
53       },
54       {
55        "Boolean checked" : true,
56        "String valueOff" : 0,
57        "xtype" : "CheckBox",
58        "String boxLabel" : "Active",
59        "$ xns" : "Roo.bootstrap",
60        "String inputValue" : 1
61       },
62       {
63        "String name" : "id",
64        "xtype" : "Input",
65        "String inputType" : "hidden",
66        "$ xns" : "Roo.bootstrap"
67       },
68       {
69        "String name" : "etype",
70        "xtype" : "Input",
71        "String inputType" : "hidden",
72        "$ xns" : "Roo.bootstrap"
73       }
74      ]
75     },
76     {
77      "listeners" : {
78       "click" : "function (_self, e)\n{\n    _this.dialog.hide(); \n}"
79      },
80      "xtype" : "Button",
81      "$ xns" : "Roo.bootstrap",
82      "String html" : "Cancel",
83      "* prop" : "buttons[]"
84     },
85     {
86      "listeners" : {
87       "click" : "function (_self, e)\n{\n    _this.form.doAction(\"submit\");\n    \n    return;\n}"
88      },
89      "String weight" : "primary",
90      "xtype" : "Button",
91      "$ xns" : "Roo.bootstrap",
92      "String html" : "Save",
93      "* prop" : "buttons[]"
94     }
95    ]
96   }
97  ]
98 }