Warren,

It worked!!! Thanks so much for the valuable information!

From: [email protected] 
[mailto:[email protected]] On Behalf Of Warren Medernach
Sent: Wednesday, February 16, 2011 10:53 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] GetParent().Fusion is undefined

Hi Emily,

This is how I hacked a solution to something similar, so this might be of some 
help:
http://geospatialworld.blogspot.com/2010/08/im-back.html

Warren M


On Wed, Feb 16, 2011 at 10:56 AM, Emily LaMunyon 
<[email protected]<mailto:[email protected]>> wrote:

Hello,

I have searched extensively for the solution to this problem with no luck so
far.

I have a Mapguide Enterprise 2011 Fusion layout using the Aqua template and
am trying to target a built-in search in the Task Pane, using Studio. The
search criteria appears in the Task Pane, but when the selected feature is
clicked, the map does not zoom to it.

In Firebug, I get an error reading:GetParent().Fusion is undefined  in
fusion/widgets/Search/Search.php for the following function that is in
Search/Search.templ:

 function CellClicked(sel)
{
 var map = GetParent().Fusion.getMapByName(mapName);
 map.setSelection(sel, true);
}


When I target a new window, the search works fine. Does anyone have any
insight?

Thanks!
--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/GetParent-Fusion-is-undefined-tp6032577p6032577.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]<mailto:[email protected]>
http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to