WarrenMedernach

Clustermap dojo.connect onError

Discussion created by WarrenMedernach on Dec 23, 2011
Latest reply on Dec 26, 2011 by hzhu
Hello all,

I'm creating an app based on the Clustermap sample by globoserver.  The sample is working great and I've managed to implement a filtering mechanism.  The problem I'm struggling with is trapping an error when no results are returned.  It seems like the error function is not being called?

dojo.connect(queryTask, "onError", function(err) {
 alert("CUSTOM ERROR: " + err.details);
});


Any ideas/suggestions would be greatly appreciated.

Warren M

Outcomes