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
},
...
...
});

Comments

Popular posts from this blog

Let's try to build scrum masters/project managers/software architects/even a company with training AI models

TCP Ports list

Problem Solving: Allotment calculator