I encountered a strange problem with retrieving the Criteria for a fetch operation inside a DatasourceConstructor on the webserver.
On the client side the criteria is created as an array of Strings using the provided "addCriteria(String, String[])" method. I would expected the identical data comming out on the server.
Instead of array of strings I however would receive a LinkedMap of my data plus a whole bunch of other things that are not understandable. Below is an example:
Client Criteria:
[sup:grp-1cat-NE Transport, sup:grp-2cat-NE Transport]...
Server Criteria:
{summaryViewGroupPtrs={b=[sup:grp-1cat-NE Transport, sup:grp-2cat-NE Transport], c=2, cM={650=1, 676=1, 680=1, 684=1}}...}
Can someone explain to me whether there is a way to access the desired data buried below and the meaning of the others).
Thanks
Be sure your post includes:
1. the SmartGWT or SmartClient version from the lower left-hand corner of the Developer Console (see FAQ for how to open Developer Console)
3.0 EE
2. browser(s) and version(s) involved
All versions
3. for a server-side problem, the *complete* logs generated during processing of the failing request (do *not* trim to just the error message)
see above
4. for any problem processing a server response, the actual response as shown in the RPC tab in the Developer Console
see above
5. if there is a JavaScript error, the stack trace logged in the Developer Console (see FAQ)
6. sample code if applicable
Posts with incomplete information are much more likely to be ignored.
On the client side the criteria is created as an array of Strings using the provided "addCriteria(String, String[])" method. I would expected the identical data comming out on the server.
Instead of array of strings I however would receive a LinkedMap of my data plus a whole bunch of other things that are not understandable. Below is an example:
Client Criteria:
[sup:grp-1cat-NE Transport, sup:grp-2cat-NE Transport]...
Server Criteria:
{summaryViewGroupPtrs={b=[sup:grp-1cat-NE Transport, sup:grp-2cat-NE Transport], c=2, cM={650=1, 676=1, 680=1, 684=1}}...}
Can someone explain to me whether there is a way to access the desired data buried below and the meaning of the others).
Thanks
Be sure your post includes:
1. the SmartGWT or SmartClient version from the lower left-hand corner of the Developer Console (see FAQ for how to open Developer Console)
3.0 EE
2. browser(s) and version(s) involved
All versions
3. for a server-side problem, the *complete* logs generated during processing of the failing request (do *not* trim to just the error message)
see above
4. for any problem processing a server response, the actual response as shown in the RPC tab in the Developer Console
see above
5. if there is a JavaScript error, the stack trace logged in the Developer Console (see FAQ)
6. sample code if applicable
Posts with incomplete information are much more likely to be ignored.
Comment