maqetta/maqetta — Issue #1147: Widget-specific properties can bring up color picker or file picker
Author: JonFerraiolo
Created: 2011-11-03 22:21:21+00:00
State: open
Labels: Priority Low, Properties View

@jhpedemonte

@childsb: if we have a widget-specific property that holds a color value, will the widget-specific property bring up the color picker and show the proper color dropdown menus? If not, can we add that? Same thing for properties that hold a URL value - can we have the same file picker that we have for background-image?

The obvious question is how does one tell that a particular property holds a URL value vs a color value vs something else. Answer: we need to leverage the 'format' sub-property (a sibling property to defaultValue and datatype). The 'format' property is defined at: http://www.openajax.org/member/wiki/OpenAjax_Metadata_1.0_Specification_Datatypes#format_attribute. We would be interested in 'format':'color' and 'format':'url'.