In the documentation
https://www.smartclient.com/smartgwt...orHandler.html
It says
void onHandleError(ErrorEvent event) If you define this method on a DataSource, it will be called whenever the server returns a DSResponse with a status other than STATUS_SUCCESS. You can use this hook to do DataSource-specific error handling. Unless you return false from this method, RPCManager.handleError() will be called by Smart GWT right after this method completes.
But how do I return false from onHandleError when its return type is void?
Thanks
Emmet
https://www.smartclient.com/smartgwt...orHandler.html
It says
void onHandleError(ErrorEvent event) If you define this method on a DataSource, it will be called whenever the server returns a DSResponse with a status other than STATUS_SUCCESS. You can use this hook to do DataSource-specific error handling. Unless you return false from this method, RPCManager.handleError() will be called by Smart GWT right after this method completes.
But how do I return false from onHandleError when its return type is void?
Thanks
Emmet
Comment