Thanks for that prod to debug - it helped me find the problem.

I used the technique described here to aid debugging. 

http://code.google.com/apis/gadgets/docs/tools.html#Assumptions
<http://code.google.com/apis/gadgets/docs/tools.html#Assumptions>
I hadn't noticed that the GadgetHelper class was used *not only* to 
construct the query *but also* to validate the response (which is where it 
got stuck).

So when I added back, the construction of the help object,

function sendQuery() {
// var prefs = new _IG_Prefs(); // User preferences
 gadgetHelper = new google.visualization.GadgetHelper();
// var query = gadgetHelper.createQueryFromPrefs(prefs);

...

 
The handler, now works!

function handleQueryResponse(response) {
/**
* Use the visualization GadgetHelper class to handle errors 
*/
if (!gadgetHelper.validateResponse(response)) {
return; // Default error handling was done, just leave. 
}

... 

 


-- 
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