[mapguide-users] Custom fusion widget support in MapGuide Studio
Chris Claydon
chris.claydon at autodesk.com
Fri Mar 20 16:40:41 EDT 2009
The Search widget has a custom UI in Studio that is not generated dynamically from the widget info. There are a few widgets like that - they are typically the ones with more complex UIs. Unfortunately it is not currently possible to specify widget parameter types that will cause the expression editor, layer list or result columns to show up in the Studio UI. For custom widgets that require these settings, you'll most likely need to click on the Edit XML... button in Studio and configure them manually.
Chris.
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jackie Ng
Sent: Thursday, March 19, 2009 5:34 PM
To: mapguide-users at lists.osgeo.org
Subject: RE: [mapguide-users] Custom fusion widget support in MapGuide Studio
I tried to make a copy of the search widget to make some modifications, but
the the following parameters are reverted to simple text fields.
- Layer Name: (Was a read-only text field with a button to spawn a layer
picker)
- Search Filter: (Was a read-only text field with a button to spawn the
Expression Editor)
- Result Columns: (Was a mini-grid to add/edit/remove name/value pairs)
Does Studio present specific user interfaces for specific widgets?
- Jackie
Chris Claydon wrote:
>
> There are several supported parameter types in the widget info, though I
> don't think they are documented anywhere right now.
>
> Try finding a pre-existing widget that has similar parameters, and look at
> its widget info file.
>
> Note that the supported types are not very complex, but you should be able
> to get checkboxes for Booleans, combo boxes for options with a restricted
> set of values, fields with browse buttons for selecting resource IDs,
> color pickers for colors etc.
>
> Chris.
>
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jackie Ng
> Sent: Wednesday, February 11, 2009 7:35 PM
> To: mapguide-users at lists.osgeo.org
> Subject: [mapguide-users] Custom fusion widget support in MapGuide Studio
>
>
> Hi All,
>
> When I create and register a custom fusion widget, I can see it in the
> list
> of available widgets. But when I edit the widget parameters in MapGuide
> Studio, all the parameters are plain text fields. Is this the normal
> behaviour?
>
> - Jackie
> --
> View this message in context:
> http://n2.nabble.com/Custom-fusion-widget-support-in-MapGuide-Studio-tp2312828p2312828.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
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
View this message in context: http://n2.nabble.com/Custom-fusion-widget-support-in-MapGuide-Studio-tp2312828p2506099.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
More information about the mapguide-users
mailing list