Hi, could anybody help me with the following?
I am trying to insert my custom attributes (tl_page, etc.) into DSResponse object like that
{
"response":{
"status":0,
"startRow":0,
"endRow":49,
"totalRows":50,
"tl_page":1,
"tl_totalRows":500,
"tl_totalPages":50,
"data":[... etc.
but in the DSCallback in the "execute" method the list of attributes (DSResponse.getAttributes()) does not contain these my attributes. Is there any way to get these attributes from DSResponse? Or maybe from "rawData"?
Thank you.
I am trying to insert my custom attributes (tl_page, etc.) into DSResponse object like that
{
"response":{
"status":0,
"startRow":0,
"endRow":49,
"totalRows":50,
"tl_page":1,
"tl_totalRows":500,
"tl_totalPages":50,
"data":[... etc.
but in the DSCallback in the "execute" method the list of attributes (DSResponse.getAttributes()) does not contain these my attributes. Is there any way to get these attributes from DSResponse? Or maybe from "rawData"?
Thank you.
Comment