Ex_Soft
24 Jan 2012, 3:44 AM
There is no "action" in CRUD request in Ext 4. How can I distinguish between e.g. create and update if I use one handler for all CRUD operations.
proxy: {
type: "ajax",
api: {
create: "SmthHandler.aspx?action=create",
read: "SmthHandler.aspx?action=read",
update: "SmthHandler.aspx?action=update",
destroy: "SmthHandler.aspx?action=destroy"
},
?
Does better way exist?
proxy: {
type: "ajax",
api: {
create: "SmthHandler.aspx?action=create",
read: "SmthHandler.aspx?action=read",
update: "SmthHandler.aspx?action=update",
destroy: "SmthHandler.aspx?action=destroy"
},
?
Does better way exist?