3 "name": "Pman.Dialog.BuilderProp",
6 "path": "/home/alan/gitlive/Pman.Builder/Pman.Dialog.BuilderProp.bjs",
10 "show": "function (_self)\n{\n _this.data.ds.load();\n}"
16 "title": "Add Property",
18 "xtype": "LayoutDialog",
23 "xtype": "LayoutRegion",
28 "|activate": "function() {\n _this.panel = this;\n //if (_this.grid) {\n // _this.grid.ds.load({});\n //}\n}"
34 "tableName": "AutoAuth",
41 "|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}",
42 "|rowdblclick": "function (_self, rowIndex, e)\n{\n \n _this.callback(this.getDataSource().getAt(rowIndex).data.name);\n _this.dialog.hide(); \n}\n"
45 "autoExpandColumn": "desc",
52 "beforeload": "function (_self, options)\n{\n // we should cache this!!!\n options.params = options.params || {};\n options.params.xtype = this.data.xtype;\n options.params.xns = this.data.xns;\n \n}"
54 "*prop": "dataSource",
57 "|sortInfo": "{ field : 'name', direction: 'ASC' }",
64 "|url": "baseURL + '/Builder/Prop.php'",
69 "xtype": "JsonReader",
70 "totalProperty": "total",
74 "|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]"
79 "*prop": "colModel[]",
83 "xtype": "ColumnModel",
84 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
88 "*prop": "colModel[]",
90 "header": "Description",
92 "xtype": "ColumnModel",
93 "|renderer": "function(v) { return String.format('{0}', v); }",
102 "click": "function (_self, e)\n{\n _this.dialog.hide();\n}"
104 "*prop": "buttons[]",
111 "click": "function (_self, e)\n{\n // do some checks?\n \n \n _this.dialog.el.mask(\"Saving\");\n _this.form.doAction(\"submit\");\n\n}"
113 "*prop": "buttons[]",