Hi Isomorphic,
We have set error messages in dsResponse object @ server side.
FYI.,
List<String> list = new ArrayList<String>();
list.add("some error ");
dsResponse.setErrors(list);
dsResponse.setStartRow(0);
dsResponse.setEndRow(0);
dsResponse.setTotalRows(0);
dsResponse.setData(<data>);
dsResponse.setFailure();
Whenever we are trying to get the value of dsResponse.errors in UI, it is undefined.
Could you please let me know what is the issue or missing anything?
FYI, recently we have upgraded lots of the jars.
The error string displaying in dsResponse.data instead of errors
Below is the SC version details
SmartClient Version: v9.0p_2013-08-16/Enterprise Development Only (built 2013-08-16)
We have set error messages in dsResponse object @ server side.
FYI.,
List<String> list = new ArrayList<String>();
list.add("some error ");
dsResponse.setErrors(list);
dsResponse.setStartRow(0);
dsResponse.setEndRow(0);
dsResponse.setTotalRows(0);
dsResponse.setData(<data>);
dsResponse.setFailure();
Whenever we are trying to get the value of dsResponse.errors in UI, it is undefined.
Could you please let me know what is the issue or missing anything?
FYI, recently we have upgraded lots of the jars.
The error string displaying in dsResponse.data instead of errors
Below is the SC version details
SmartClient Version: v9.0p_2013-08-16/Enterprise Development Only (built 2013-08-16)
Comment