I'm using the following code to send a simple string parameter on a DSRequest. The "groupLevel" variable is a string with the value "style".
However, when I look at the request on the developer console I can see that is has been broken into an array or map of single character strings, with a mysterious integer showing up in the last array element.
I remember seeing this sort of thing before and I think it was a bug in core GWT, but I can't find my previous post and can't remember what the trick was to "fix" it.
Code:
Map<String, String> extras = new HashMap<String, String>(); extras.put("GroupLevel", groupLevel); req.setParams(extras);
Code:
"params":{ "GroupLevel":{ "0":"s", "1":"t", "2":"y", "3":"l", "4":"e", "tI":2 }
Comment