Re: [Zope3-Users] stuck with zope.schema.List and subwidget

2005-08-29 Thread Christian Lueck
Stephan Richter schrieb: > > 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. > Hm, so you think :-) I should

Re: [Zope3-Users] stuck with zope.schema.List and subwidget

2005-08-28 Thread Stephan Richter
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. > > Bu

Re: [Zope3-Users] stuck with zope.schema.List and subwidget

2005-08-26 Thread Adam Groszer
Hello Christian, I'm having almost the same problems with a 'simple' OrderedMultiSelectWidget. Look for the subject "problems with " on the list [Zope3-dev]. Saturday, August 27, 2005, 1:01:04 AM, you wrote: > Hi! > Did anyone ever test or succeed using the subwidget-directive of > zope.app.for

[Zope3-Users] stuck with zope.schema.List and subwidget

2005-08-26 Thread Christian Lueck
Hi! Did anyone ever test or succeed using the subwidget-directive of zope.app.form.browser.sequencewidget.SequenceWidget? Following the lines of zope/app/form/browser/widgets.txt a widget for a list of objects would be defined by something like this: author_w = CustomWidgetFactory(ObjectWidget,