I need some direction on how I should approach my widget. The basic function of the widget is to display order information. Each order will consist of 2 items (loaded into a tab control), an overview and an order instruction. This information is contained in two individual html pages - one page for overview and one for the instruction. In my widget.js, I am populating a ContentPane within a tab control (in widget.html) with the contents of the overview.html and instruction.html files from my Orders directory. My tab control works great with two tabs (overview \ instruction).
My question now is, within the instruction.html file that is loaded into the instruction tab, I'd like to place a button control / dijit that runs a simple querytask to fetch the site/location of where an order's work needs to be performed and then plot it on the map within the application that contains my widget. I am executing the querytask and receiving the results back (within instruction.html - NOT widget.html/js) - how do I plot this on the application's map?