how to submit a Ext.form.Panel to a specified URL with params?
var panel = Ext.create('Ext.form.Panel', {
id: 'businessUnit-form',
url: 'createNewBusinessUnitForList.htm',
.....
....
.....
});
formCmp.getForm().submit({
method:'POST',
params:{
id: id,
status: status,
articles: aArticles
},
...
...
});
id: 'businessUnit-form',
url: 'createNewBusinessUnitForList.htm',
.....
....
.....
});
formCmp.getForm().submit({
method:'POST',
params:{
id: id,
status: status,
articles: aArticles
},
...
...
});
Comments
Post a Comment