Hi,
After a month with SmartGWT, I can say that the overall experience has been exceedingly positive. In a few cases, we are not able to get the error handling to work, and I can see that there are quite a few posts on this issue.
On save, the server returns
<response><status>-4</status><errors><companyNumber>
<errorMessage>Error message here</errorMessage></companyNumber></errors></response>
The error message is displayed properly.
On Fetch:
the server returns <response><status>-4</status><errors><cbsoGrid>
<errorMessage>Error message here.</errorMessage></cbsoGrid></errors></response>
In this case the error message is not displayed. This error message is not for a specific field. So instead of the field name, I return the grid name.
The console shows:
13:10:24.109:XRP7:WARN:RPCManager:Error performing rpcRequest: error: VALIDATION_ERROR, response: {data: Array[0],
startRow: 0,
status: -4,
endRow: 0,
totalRows: 0,
httpResponseCode: 200,
transactionNum: 6,
clientContext: Obj,
context: Obj,
errors: Obj}
Thanks for your suggestions.
Ganesh