According to the reference, warnings should be an array of objects,
rather than a single object. Fixed it, I can get the data with
getDetailedMessage. Though the string seems to be entity encoded.

Still, there should be a better way to do this.

On May 11, 4:53 pm, Kemal <[email protected]> wrote:
> Hello,
>
> What is the best way to pass some data along with the query response?
> In pre-0.5 I used to set status to "warning" and pass along my data in
> the message field, but seems like it doesn't work now. Tried setting
> warnings.reason='other' and warnings.detailed_message to my json-
> encoded data, but I can't seem to get it with
> response.getDetailedMessage().
>
> Also tried calling another method (just before Query.setResponse in
> the data) but seems like it's not allowed, all I got was JS errors.
>
> Any way to do this?
>
> Best regards,
> Kemal

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to