priyan_kj
14 Jun 2007, 12:34 AM
Hi
i am calling server action like below
msglocationtemp.load(
{
url: 'ShowQ3TasksAction.do', // <-- replace with your url
params: "name=" + "showQ3" ,
text: "Updating..." ,
callback: function (){
Ext.get('emptylocation').on('click', selectemptylocation);
Ext.get('closealert').on('click', closetask);
return true;
}
}
);
After transaction
how can I catch server-side error or success information.Basically i want to call different functions based on the return type.
i am calling server action like below
msglocationtemp.load(
{
url: 'ShowQ3TasksAction.do', // <-- replace with your url
params: "name=" + "showQ3" ,
text: "Updating..." ,
callback: function (){
Ext.get('emptylocation').on('click', selectemptylocation);
Ext.get('closealert').on('click', closetask);
return true;
}
}
);
After transaction
how can I catch server-side error or success information.Basically i want to call different functions based on the return type.