// load using HTTP
proxy:{
xtype: 'HttpProxy',
- url: baseURL + '/Roo/Companies.html',
+ url: baseURL + '/Roo/core_company',
method: 'GET'
},
reader: Pman.Readers.Companies,
'<b>{name}</b> {address}',
'</div>'
),
- queryParam: 'query[name]',
+ queryParam: 'search[name_starts]',
loadingText: "Searching...",
listWidth: 400,
checked : true,
xtype : 'Checkbox',
xns : Roo.form,
- width : 220
+ width : 220,
+ listeners : {
+ check : function (_self, checked) {
+ this.form.findField('passwd1').insecure = false;
+
+ if(!checked){
+ this.form.findField('passwd1').insecure = true;
+ }
+ }
+ }
},
project_id_fs : {
xtype : 'FieldSetEx',
}
this.dialog.el.mask("Sending");
this.form.doAction('submit', {
- url: baseURL + '/Roo/Person.html',
+ url: baseURL + '/Roo/core_person',
method: 'POST',
params: {
_id: this._id ,
this.dialog.show();
this.dialog.el.mask("Loading");
this.form.doAction('load', {
- url: baseURL + '/Roo/Person.html',
+ url: baseURL + '/Roo/core_person',
method: 'GET',
params: {
_id: this._id ,