Hi, I am very new to the WAB and dojo stuff. I really had a hard time with my first custom widget project. Please see below for a snippet of the codes. When I test the widget, an error appeared "TypeError: this.somethingElse() is not a function" within the _showResults. So how to make a call within _showResults and pass parameters to it? Thanks for your help!
var query = new Query();
query.where = "Id > 0";
query.outFields = ["ID", "Name"];
query.returnGeometry = true;
var queryTask = new QueryTask('http://.....');
//do something here...
//and do something else here