[Zope3-dev] RFC: CustomWidgetFactory and widgets having different __init__ signature

Dominik Huber dominik.huber at perse.ch
Tue Nov 22 03:51:00 EST 2005


Johan Carlsson wrote:

> Anywhere I can read up on what's happening with this issue/bug?

- The class attribute of the widget-directive can handle a custom 
factory or a widget class.
- The __call__ method of custom widget factory 
(zope.app.form.CustomWidgetFactory)
   invokes collection, choice and regular fields correctly (respection 
specific signatures)
- Custom widget sequence factory 
(zope.app.form.CustomSequenceWidgetFactory) is
  deprecated because it does not satisfy the IViewFactory interface.
  Use the CustomWidgetFactory instead.

Regards,
Dominik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dominik.huber.vcf
Type: text/x-vcard
Size: 154 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope3-dev/attachments/20051122/8be1c7ff/dominik.huber.vcf


More information about the Zope3-dev mailing list