Re: Possible to control widgets in a (subtype of) RegistryEditForm
espen <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
18. feb. 2015 kl. 18:32 skrev David Glick (Plone) [via Plone] <ml-node+s293351n7573275h78-PKuAHvtXa09l57MIdRCFDg@public.gmane.org>: > On 2/18/15 6:16 AM, Christoph Pingel wrote: >> In my project, there is a form which inherits from plone.app.registry's RegistryEditForm. >> >> Now while this is an elegant way to build a form (schema is derived from an interface), I miss a way to customize the widgets in the form. >> >> I my case, I have 10 color strings which correspond to numbers from 1 to 10, and I would like to use a custom widget or even build the form elements myself. >> The purpose is that the user should be able to use a JS color picker to edit the colors. >> >> What would be the most elegant way to achieve a custom widget in this case? maybe you don’t really need to use a custom widget ( just add some javascript, maybe something like: http://codecanyon.net/item/jquery-color-picker/full_screen_preview/5946602 or http://www.digitalmagicpro.com/jPicker/ also found this: https://plone.org/products/collective.z3cform.colorpicker/ Espen -- View this message in context: http://plone.293351.n2.nabble.com/Possible-to-control-widgets-in-a-subtype-of-RegistryEditForm-tp7573273p7573276.html Sent from the General Questions mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ Plone-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plone-users