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> var Url = 'qb.html';<br> winQb = window.open(Url, 'New window', 'toolbar=no,menubar=no,location=no,resizable=yes,status=yes,scrollbars=yes,width=900,height=540');<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've tried to code something, but still with no success:<br>code of the new window:<br><script><br>
var options = {}; <br> options.filter = 'gid in (1, 2, 3)';<br> options.layers = 'Estados';<br> <br> window.opener.Fusion.Widget.Map.query(options);<br><br> //also tried to get the caller widget: <br>
// var myWidObj = new window.opener.Fusion.Widget.Pqb();<br></script><br><br>thanks in advance<br>