So I've read the only way to publish data is though the Widget.js because it derives from base widget. My issue is that I would like to publish data from the SingleQueryResult.js in the Query widget. When the user selects a result from the query list I need it to publish data. I read something on being able to grab it from the "Parent Widget" but not sure how to implement this.
_selectResultTr<SPAN class="punctuation token">:</SPAN> <SPAN class="keyword token">function</SPAN><SPAN class="punctuation token">(</SPAN>tr<SPAN class="punctuation token">,</SPAN> feature<SPAN class="punctuation token">,</SPAN> result<SPAN class="punctuation token">,</SPAN> layerDefinition<SPAN class="punctuation token">,</SPAN> config<SPAN class="punctuation token">)</SPAN> <SPAN class="punctuation token">{</SPAN>
<SPAN class="keyword token">this</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="token function">_unSelectResultTr</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="keyword token">this</SPAN><SPAN class="punctuation token">.</SPAN>resultTr <SPAN class="operator token">=</SPAN> tr<SPAN class="punctuation token">;</SPAN>
<SPAN class="keyword token">var</SPAN> currentAttrs <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">this</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="token function">getCurrentAttrs</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="keyword token">var</SPAN> config <SPAN