I would like to handle the empty response of the RestDataSource.fetchData command. If the server does not provide any response (json-object in my case) I see in a FireBug an absolutely empty Rresponse tab and a message like this - 17:39:30.320 [ERROR] [...] 17:39:30.321:XRP2:WARN:RestDataSource:isc_PagedRestDataSource_0:Evaluating JSON reply resulted in empty value. JSON text: "" - in a Development Mode console. But niether DSCallback is invoked nor the "transformResponse" is executed. I see that the ISC_DataBinding.js performs logWarn with this message.
I there any way to catch this WARN in the smartGwt application, handle it and show the message in a browser somehow?
(SmartGWT 2.4.)
I there any way to catch this WARN in the smartGwt application, handle it and show the message in a browser somehow?
(SmartGWT 2.4.)
Comment