Hi list!<br><br>I am trying to call the query() method from a new window opened by a widget.<br>In execute method of the widget I have the code bellow:<br><br>execute : function() {<br>&nbsp;&nbsp;&nbsp; var Url = &#39;qb.html&#39;;<br>&nbsp;&nbsp;&nbsp; winQb = window.open(Url, &#39;New window&#39;, &#39;toolbar=no,menubar=no,location=no,resizable=yes,status=yes,scrollbars=yes,width=900,height=540&#39;);<br>
}<br><br><br>when the widget is executed it pops up a new window. I am trying to execute the query method from this new window. I&#39;ve tried to code something, but still with no success:<br>code of the new window:<br>&lt;script&gt;<br>
&nbsp;&nbsp;&nbsp; var options = {};&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; options.filter = &#39;gid in (1, 2, 3)&#39;;<br>&nbsp;&nbsp;&nbsp; options.layers = &#39;Estados&#39;;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; window.opener.Fusion.Widget.Map.query(options);<br><br>&nbsp;&nbsp;&nbsp; //also tried to get the caller widget: <br>
&nbsp;&nbsp;&nbsp; // var myWidObj = new window.opener.Fusion.Widget.Pqb();<br>&lt;/script&gt;<br><br>thanks in advance<br>