2 "name" : "Pman.Tab.CmsCategoryType",
3 "parent" : "Pman.Tab.Cms",
4 "title" : "Pman.Tab.CmsCategoryType",
5 "path" : "/home/edward/gitlive/Pman.Cms/Pman.Tab.CmsCategoryType.bjs",
9 "8a50fa0a4557af5018e28054386cde1f" : "Category Types",
10 "512c3cbbc9d4e8f23edae03d7abc434e" : "No cms_category_type found",
11 "ec211f7c20af43e742bf2570c3cb84f9" : "Add",
12 "093a223e9365cd2675ea9389f321f640" : "Displaying cms_category_type{0} - {1} of {2}",
13 "7dce122004969d56ae2e0245cb754d35" : "Edit",
14 "f2a6c498fb90ee345d997f888fce3b18" : "Delete",
15 "49ee3087348e8d44e1feda1917443987" : "Name"
20 "|activate" : "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n \n}"
25 "title" : "Category Types",
26 "xtype" : "GridPanel",
27 "fitContainer" : true,
29 "tableName" : "cms_category_type",
33 "|rowdblclick" : "function (_self, rowIndex, e)\n{\n if (!_this.dialog) {\n return;\n }\n _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {\n _this.grid.footer.onClick('first');\n }); \n}\n",
34 "|render" : "function() \n{\n _this.grid = this; \n _this.dialog = Pman.Dialog.CmsCategoryType;\n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}"
36 "autoExpandColumn" : "name",
45 "$ sortInfo" : "{ field : 'name', direction: 'ASC' }",
47 "* prop" : "dataSource",
50 "$ url" : "baseURL + '/Roo/cms_category_type.php'",
52 "xtype" : "HttpProxy",
59 "xtype" : "JsonReader",
61 "$ fields" : "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'name',\n 'type': 'string'\n }\n]",
63 "totalProperty" : "total"
69 "xtype" : "PagingToolbar",
70 "emptyMsg" : "No cms_category_type found",
73 "displayMsg" : "Displaying cms_category_type{0} - {1} of {2}",
83 "$ xns" : "Roo.Toolbar"
87 "|click" : "function()\n{\n if (!_this.dialog) {\n return;\n }\n _this.dialog.show( { id : 0 } , function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
91 "cls" : "x-btn-text-icon",
92 "$ icon" : "Roo.rootURL + 'images/default/dd/drop-add.gif'",
93 "$ xns" : "Roo.Toolbar"
97 "|click" : "function()\n{\n var s = _this.grid.getSelectionModel().getSelections();\n if (!s.length || (s.length > 1)) {\n Roo.MessageBox.alert(\"Error\", s.length ? \"Select only one Row\" : \"Select a Row\");\n return;\n }\n if (!_this.dialog) {\n return;\n }\n _this.dialog.show(s[0].data, function() {\n _this.grid.footer.onClick('first');\n }); \n \n}\n"
101 "cls" : "x-btn-text-icon",
102 "$ icon" : "Roo.rootURL + 'images/default/tree/leaf.gif'",
103 "$ xns" : "Roo.Toolbar"
107 "|click" : "function()\n{\n Pman.genericDelete(_this, 'cms_category_type'); \n}\n "
111 "cls" : "x-btn-text-icon",
112 "$ icon" : "rootURL + '/Pman/templates/images/trash.gif'",
113 "$ xns" : "Roo.Toolbar"
118 "xtype" : "ColumnModel",
121 "$ renderer" : "function(v) { return String.format('{0}', v); }",
122 "$ xns" : "Roo.grid",
123 "* prop" : "colModel[]",