[Product-Developers] how to hide widget's label?

Nathan Van Gheem vangheem at gmail.com
Tue Jan 27 16:22:14 UTC 2009


>
> However I wonder if is not useful to control every parameter of a
> widget... I hope see this kind of feature in the next release of AT :)
>
Maybe a feature request for dexterity--the new and much improved content
type api.  I doubt Archetypes will change much in the future; although, it
would be very simple to introduce this functionality.

On Tue, Jan 27, 2009 at 10:09 AM, SimO <simahawk at gmail.com> wrote:

> Nathan Van Gheem wrote:
> > You could create your own new widget template and specify it in the
> widget
> > instance of the object.  That way you won't modify the original template.
> > After you create the widget template, you do something like this,
> >
> > StringField('something',
> >          widget = StringWidget(
> >             macro="mytemplateforthiswidget"
> >          )
> >      )
> >
> > Again, pretty sure that works but untested.
>
> I think you're right according to this how-to:
>
> http://plone.org/documentation/tutorial/customizing-at-view-templates/customizing-widgets
>
> However I wonder if is not useful to control every parameter of a
> widget... I hope see this kind of feature in the next release of AT :)
>
> BTW thanks to everybody!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20090127/fc5d4435/attachment.html>


More information about the Product-Developers mailing list