Thanks Kori,
<br>That works to look through the js files to see what they offer...it would be great if there was a document like:
<br><a href="http://www.osgeo.org/files/mapguide/docs/viewerapi/viewerapi.html" target="_top" rel="nofollow" link="external">http://www.osgeo.org/files/mapguide/docs/viewerapi/viewerapi.html</a><br><br>thanks
<br>gordon
<br><br>-----Original message-----
<br>From: "Kori Maleski [via OSGeo.org]" <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4642683&i=0" target="_top" rel="nofollow">[hidden email]</a>
<br>Date: Thu, 25 Feb 2010 21:20:56 -0800
<br>To: GordonL <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4642683&i=1" target="_top" rel="nofollow">[hidden email]</a>
<br>Subject: Re: How to expand legend programatically in Fusion
<br><div class='shrinkable-quote'><br>>
<br>>
<br>>
<br>> I think it is easy enough to review the widget javascript to determine the
<br>> Fusion API calls - in the case of what hasn't been documented.
<br>>
<br>> <a href="http://demo.mapserver.org/fusion/widgets/" target="_top" rel="nofollow" link="external">http://demo.mapserver.org/fusion/widgets/</a><br>>
<br>>
<br>> For the Legend:
<br>>
<br>> Fusion.getWidgetById('Legend').renderer.expandAll()
<br>> Fusion.getWidgetById('Legend').renderer.collapseAll()
<br>> Fusion.getWidgetById('Legend').renderer.collapseBranch(folder)
<br>> Fusion.getWidgetById('Legend').renderer.expandBranch(folder)
<br>> Fusion.getWidgetById('Legend').renderer.update()
<br>> Fusion.getWidgetById('Legend').renderer.clear()
<br>>
<br>> For the TaskFrame:
<br>>
<br>> Fusion.getWidgetById('TaskFrame').updateButtons()
<br>> Fusion.getWidgetById('TaskFrame').gotoPrevTask()
<br>> Fusion.getWidgetById('TaskFrame').gotoNextTask()
<br>> Fusion.getWidgetById('TaskFrame').goHome()
<br>> Fusion.getWidgetById('TaskFrame').setContent(url)
<br>>
<br>>
<br>> Cheers,
<br>>
<br>> Kori Maleski
<br>>
<br>>
<br>> On Thu, Feb 25, 2010 at 5:48 PM, GordonL
<br>> <<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4642683&i=2" target="_top" rel="nofollow">[hidden email]</a>>wrote:
<br>>
<br>> >
<br>> > Hi Mike,
<br>> > I have been searching for a definitive list of Fusion API calls.
<br>> > For example, only through some hacking and searhing have I found some of
<br>> > the
<br>> > methods and properties for some of the widgets, such as:
<br>> >
<br>> > Fusion.getWidgetById('Legend').renderer.expandAll();
<br>> >
<br>> > or
<br>> >
<br>> > Fusion.getWidgetById('TaskFrame').setContent(‘<a href="http://osgeo.org');" target="_top" rel="nofollow" link="external">http://osgeo.org');</a><br>> >
<br>> > Do you know where I can find the methods for these widgets? (like expandAll
<br>> > or setContent)
<br>> >
<br>> > thanks
<br>> > gordon
<br>> >
<br>> >
<br>> >
<br>> > --
<br>> > View this message in context:
<br>> > <a href="http://n2.nabble.com/How-to-expand-legend-programatically-in-Fusion-tp4561423p4636440.html" target="_top" rel="nofollow" link="external">http://n2.nabble.com/How-to-expand-legend-programatically-in-Fusion-tp4561423p4636440.html</a><br>> > Sent from the MapGuide Users mailing list archive at Nabble.com.
<br>> > _______________________________________________
<br>> > mapguide-users mailing list
<br>> > <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4642683&i=3" target="_top" rel="nofollow">[hidden email]</a>
<br>> > <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>> >
<br>>
<br>> _______________________________________________
<br>> mapguide-users mailing list
<br>> <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4642683&i=4" target="_top" rel="nofollow">[hidden email]</a>
<br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>>
<br>>
<br>> ______________________________________
<br>> View message @ <a href="http://n2.nabble.com/How-to-expand-legend-programatically-in-Fusion-tp4561423p4637303.html" target="_top" rel="nofollow" link="external">http://n2.nabble.com/How-to-expand-legend-programatically-in-Fusion-tp4561423p4637303.html</a><br>>
<br>> To unsubscribe from Re: How to expand legend programatically in Fusion, click <a target="_top" rel="nofollow" link="external"><Link Removed></a><br>>
<br>>
<br></div>
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/How-to-expand-legend-programatically-in-Fusion-tp4561423p4642683.html">Re: How to expand legend programatically in Fusion</a><br>
Sent from the <a href="http://n2.nabble.com/MapGuide-Users-f1803227.html">MapGuide Users mailing list archive</a> at Nabble.com.<br>