3 "name": "Pman.Dialog.BuilderProp",
6 "path": "/home/alan/gitlive/Pman.Builder/Pman.Dialog.BuilderProp.bjs",
13 "title": "Add Property",
15 "xtype": "LayoutDialog",
20 "xtype": "LayoutRegion",
29 "tableName": "AutoAuth",
33 "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
39 "autoExpandColumn": "url",
42 "|render": "function() \n{\n _this.grid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}",
43 "|rowdblclick": "function (_self, rowIndex, e)\n{\n if (!_this.dialog) return;\n _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
48 "*prop": "dataSource",
51 "|sortInfo": "{ field : 'url', direction: 'ASC' }",
58 "|url": "baseURL + '/Builder/Prop.php'",
63 "xtype": "JsonReader",
64 "totalProperty": "total",
68 "|fields": "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'user_id',\n 'type': 'int'\n },\n {\n 'name': 'url',\n 'type': 'string'\n },\n {\n 'name': 'ts',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n },\n {\n 'name': 'checksum',\n 'type': 'string'\n },\n {\n 'name': 'user_id_id',\n 'type': 'int'\n },\n {\n 'name': 'user_id_name',\n 'type': 'string'\n },\n {\n 'name': 'user_id_title',\n 'type': 'string'\n },\n {\n 'name': 'user_id_company',\n 'type': 'string'\n },\n {\n 'name': 'user_id_address',\n 'type': 'string'\n },\n {\n 'name': 'user_id_email',\n 'type': 'string'\n },\n {\n 'name': 'user_id_telephone',\n 'type': 'string'\n },\n {\n 'name': 'user_id_fax',\n 'type': 'string'\n },\n {\n 'name': 'user_id_mobile',\n 'type': 'string'\n },\n {\n 'name': 'user_id_country',\n 'type': 'string'\n },\n {\n 'name': 'user_id_currency',\n 'type': 'string'\n },\n {\n 'name': 'user_id_shipping_method',\n 'type': 'string'\n },\n {\n 'name': 'user_id_shipping_acc',\n 'type': 'string'\n },\n {\n 'name': 'user_id_terms_agreed',\n 'type': 'int'\n },\n {\n 'name': 'user_id_passwd',\n 'type': 'string'\n },\n {\n 'name': 'user_id_is_buyer',\n 'type': 'int'\n },\n {\n 'name': 'user_id_is_seller',\n 'type': 'int'\n },\n {\n 'name': 'user_id_is_want_blind_rfq',\n 'type': 'int'\n },\n {\n 'name': 'user_id_buyer_type',\n 'type': 'string'\n },\n {\n 'name': 'user_id_is_verified',\n 'type': 'int'\n },\n {\n 'name': 'user_id_is_disabled',\n 'type': 'int'\n },\n {\n 'name': 'user_id_is_want_email',\n 'type': 'int'\n },\n {\n 'name': 'user_id_mail_newprod_freq',\n 'type': 'int'\n },\n {\n 'name': 'user_id_quotation_by',\n 'type': 'string'\n },\n {\n 'name': 'user_id_is_want_make_offer',\n 'type': 'int'\n },\n {\n 'name': 'user_id_mail_inventry_freq',\n 'type': 'int'\n },\n {\n 'name': 'user_id_max_rfq_per_day',\n 'type': 'int'\n },\n {\n 'name': 'user_id_is_approved',\n 'type': 'int'\n },\n {\n 'name': 'user_id_created',\n 'type': 'date'\n },\n {\n 'name': 'user_id_modified',\n 'type': 'date'\n },\n {\n 'name': 'user_id_modified_by',\n 'type': 'int'\n },\n {\n 'name': 'user_id_is_administrator',\n 'type': 'int'\n },\n {\n 'name': 'user_id_bank_name',\n 'type': 'string'\n },\n {\n 'name': 'user_id_bank_account',\n 'type': 'string'\n },\n {\n 'name': 'user_id_last_inventory_sent',\n 'type': 'date'\n },\n {\n 'name': 'user_id_last_rfq_report_sent',\n 'type': 'date'\n },\n {\n 'name': 'user_id_last_productlist_sent',\n 'type': 'date'\n },\n {\n 'name': 'user_id_company_id',\n 'type': 'int'\n }\n]"
74 "xtype": "PagingToolbar",
77 "displayMsg": "Displaying AutoAuth{0} - {1} of {2}",
78 "emptyMsg": "No AutoAuth found",
89 "cls": "x-btn-text-icon",
90 "|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'",
92 "|click": "function()\n{\n if (!_this.dialog) return;\n _this.dialog.show( { id : 0 } , function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
99 "cls": "x-btn-text-icon",
100 "|icon": "Roo.rootURL + 'images/default/tree/leaf.gif'",
102 "|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) return;\n _this.dialog.show(s[0].data, function() {\n _this.grid.footer.onClick('first');\n }); \n \n}\n"
104 "|xns": "Roo.Toolbar"
108 "cls": "x-btn-text-icon",
109 "|icon": "rootURL + '/Pman/templates/images/trash.gif'",
112 "|click": "function()\n{\n Pman.genericDelete(_this, 'AutoAuth'); \n}\n "
114 "|xns": "Roo.Toolbar"
119 "*prop": "colModel[]",
123 "xtype": "ColumnModel",
124 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
128 "*prop": "colModel[]",
130 "header": "Checksum",
132 "xtype": "ColumnModel",
133 "|renderer": "function(v) { return String.format('{0}', v); }",
142 "click": "function (_self, e)\n{\n _this.dialog.hide();\n}"
144 "*prop": "buttons[]",
151 "click": "function (_self, e)\n{\n // do some checks?\n \n \n _this.dialog.el.mask(\"Saving\");\n _this.form.doAction(\"submit\");\n\n}"
153 "*prop": "buttons[]",