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

Warren Medernach wmedernach at gmail.com
Wed Feb 16 12:53:15 EST 2011


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> 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
> 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/5c056926/attachment.html


More information about the mapguide-users mailing list