[mapguide-users] GetParent().Fusion is undefined

Emily LaMunyon ELaMunyon at slco.org
Wed Feb 16 13:32:52 EST 2011


Warren,

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

From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] 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 <ELaMunyon at slco.org<mailto:ELaMunyon at slco.org>> 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
mapguide-users at lists.osgeo.org<mailto:mapguide-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapguide-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20110216/e8f2b927/attachment.html


More information about the mapguide-users mailing list