I think it is easy enough to review the widget javascript to determine the Fusion API calls - in the case of what hasn't been documented.
http://demo.mapserver.org/fusion/widgets/ For the Legend: Fusion.getWidgetById('Legend').renderer.expandAll() Fusion.getWidgetById('Legend').renderer.collapseAll() Fusion.getWidgetById('Legend').renderer.collapseBranch(folder) Fusion.getWidgetById('Legend').renderer.expandBranch(folder) Fusion.getWidgetById('Legend').renderer.update() Fusion.getWidgetById('Legend').renderer.clear() For the TaskFrame: Fusion.getWidgetById('TaskFrame').updateButtons() Fusion.getWidgetById('TaskFrame').gotoPrevTask() Fusion.getWidgetById('TaskFrame').gotoNextTask() Fusion.getWidgetById('TaskFrame').goHome() Fusion.getWidgetById('TaskFrame').setContent(url) Cheers, Kori Maleski On Thu, Feb 25, 2010 at 5:48 PM, GordonL <gordon.luck...@arrowgeomatics.com>wrote: > > Hi Mike, > I have been searching for a definitive list of Fusion API calls. > For example, only through some hacking and searhing have I found some of > the > methods and properties for some of the widgets, such as: > > Fusion.getWidgetById('Legend').renderer.expandAll(); > > or > > Fusion.getWidgetById('TaskFrame').setContent(‘http://osgeo.org'); > > Do you know where I can find the methods for these widgets? (like expandAll > or setContent) > > thanks > gordon > > > > -- > View this message in context: > http://n2.nabble.com/How-to-expand-legend-programatically-in-Fusion-tp4561423p4636440.html > Sent from the MapGuide Users mailing list archive at Nabble.com. > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users >
_______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users