Hi Isomorphic,
If there is an exception occured i will set the status flag for the response object as STATUS_FAILURE ,
dsResponse.setStatus(dsResponse.STATUS_FAILURE);
i have added the below piece of code ,
isc.RPCManager.addClassProperties({
handleError : function (response, request) {
if(response.status != isc.RPCResponse.STATUS_SUCCESS) {
isc.warn(“Error occured”);
//Forwrd to an Common Error page.
}
}
});
This approach is working fine.
Iam having one problem,
When i call a fetch data or save of one grid , there is lot of calculations and manipulations in the Manager layer , After 2-3 min its automatically forwarding to a error page , but still my backend operations are executing .
pls help me out to solve this issue ,
Thank you .