[mapguide-users] setActiveTab in Fusion MGOS Beta 1

SMAmap Webmaster webmaster at SMAmap.com
Tue Jul 14 12:00:10 EDT 2009


It works - thanks once again for your help, Paul. 

It feels so good to break out of the frames structure! I still have a lot of
little things to do, but I think I'll be ready to switch to Fusion in
production by the end of the month.   

Andy 


-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Paul Spencer
Sent: Tuesday, July 14, 2009 10:17 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] setActiveTab in Fusion MGOS Beta 1

try, instead:

tab3.setActive(true);

Cheers

Paul

On 12-Jul-09, at 3:40 PM, GreenMapSanMiguel wrote:

>
> I would like to programatically switch from the OverviewMap to
> SelectionPanel, but can't get it to work by calling the  
> showSelectionPanel
> function, which for my application is:
>
> var showSelectionPanel = function() {
>  tabbox2.tabSet.setActiveTab(tab3);
> }
>
> The setActiveTab function is executing, but it is not doing everything
> needed to make the switch.  Here is an example of the incomplete
> setActiveTab:
>
http://smamap.com/mapguide/GreenMap/SanMiguelDeAllende/index.php?LAYER=food&
LOC=BOVE
>
> It switches away from the OverviewMap but doesn't display the  
> contents of
> the Selection panel (or highlight the tab.)  I get similar results  
> switching
> to any of the other tabs.  If you click on the 'select' tab, then the
> correct information will display.
>
> Is there an additional call I need to make or fields I need to set  
> up in
> advance?
>
> Thank you for your help!
>
> Andy Baltimore
>
> p.s. Here's an example that does not try to change tabs.  The  
> selection is
> working but the use must click the select tab:
>
http://smamap.com/mapguide/GreenMap/SanMiguelDeAllende/indexNoSwitch.php?LAY
ER=food&LOC=BOVE
>
> -- 
> View this message in context:
http://n2.nabble.com/setActiveTab-in-Fusion-MGOS-Beta-1-tp3246967p3246967.ht
ml
> 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

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

----------------------------------------------------------------------------
---------
This email has been scanned by the MxScan Email Security System.
----------------------------------------------------------------------------
---------



More information about the mapguide-users mailing list