On Friday 26 August 2005 19:01, Christian Lueck wrote: > author_w = CustomWidgetFactory(ObjectWidget, Person) > > class ArticleEditView(EditView): > authors_widget = CustomWidgetFactory(SequenceWidget, > subwidget=author_w) > > > Instead of SequenceWidget I tried ListSequenceWidget, too. > > But I allways get the error-message: > __init__() takes at least 4 arguments (3 given)
The problem, I think (actually I just checked, so I know ;-), is that CustomWidgetFactory was not designed to work well with advanced widgets, i.e. widgets that have more constructor arguments beyond the field and the request. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _______________________________________________ Zope3-users mailing list [email protected] http://mail.zope.org/mailman/listinfo/zope3-users
