Hi Emily,<div><br></div><div>This is how I hacked a solution to something similar, so this might be of some help:</div><div><a href="http://geospatialworld.blogspot.com/2010/08/im-back.html">http://geospatialworld.blogspot.com/2010/08/im-back.html</a></div>
<div><br></div><div>Warren M</div><div><br><div><div><br><div class="gmail_quote">On Wed, Feb 16, 2011 at 10:56 AM, Emily LaMunyon <span dir="ltr"><<a href="mailto:ELaMunyon@slco.org">ELaMunyon@slco.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Hello,<br>
<br>
I have searched extensively for the solution to this problem with no luck so<br>
far.<br>
<br>
I have a Mapguide Enterprise 2011 Fusion layout using the Aqua template and<br>
am trying to target a built-in search in the Task Pane, using Studio. The<br>
search criteria appears in the Task Pane, but when the selected feature is<br>
clicked, the map does not zoom to it.<br>
<br>
In Firebug, I get an error reading:GetParent().Fusion is undefined in<br>
fusion/widgets/Search/Search.php for the following function that is in<br>
Search/Search.templ:<br>
<br>
function CellClicked(sel)<br>
{<br>
var map = GetParent().Fusion.getMapByName(mapName);<br>
map.setSelection(sel, true);<br>
}<br>
<br>
<br>
When I target a new window, the search works fine. Does anyone have any<br>
insight?<br>
<br>
Thanks!<br>
<font color="#888888">--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/GetParent-Fusion-is-undefined-tp6032577p6032577.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/GetParent-Fusion-is-undefined-tp6032577p6032577.html</a><br>
Sent from the MapGuide Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</font></blockquote></div><br></div></div></div>