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.
On Tue, Jan 27, 2009 at 9:17 AM, SimO <[email protected]> wrote:
> Nathan Van Gheem wrote:
> > I think you can just set the field label to nothing,
> >
> > StringField('something',
> >> widget = StringWidget(
> >> description = "",
> >> label=""
> >> )
> >> ),
>
> Well, actually is what I did :) but, I forgot to mention that when you
> do so you get a crapy ":" aside the field.
>
> That's the reason why the label - if possible - should be disabled.
>
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers