I am trying to use the replicate the functionality of wabWidget as it is used in the AddData widget in the AddFromUrlPanel.js under the addClicked function.
In that widget, the use of:
wabWidget<SPAN class="operator token">=</SPAN> <SPAN class="keyword token">null</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="keyword token">var</SPAN> map <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">this</SPAN><SPAN class="punctuation token">.</SPAN>wabWidget<SPAN class="punctuation token">.</SPAN>map<SPAN class="punctuation token">;</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN></SPAN>
the map variable produces all the info for the map.