[Grok-dev] Using zc.sourcefactory.basic.BasicSourceFactory for a schema.List
Thibaud Morel l'Horset
teebes at gmail.com
Thu Apr 30 16:28:29 EDT 2009
Is there a way to specify a source to a schema.List?
I went through the form source tutorial at
http://grok.zope.org/documentation/how-to/using-sources-in-your-forms but
while that works great for schema.Choice, I get the following error when
trying to use it with a List:
ZopeXMLConfigurationError: File
"/Users/thibaud/grok/scs/src/scs/configure.zcml", line 5.2-5.27
TypeError: __init__() got an unexpected keyword argument 'source'
Is there no way to do this?
Thanks,
Thibaud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20090430/be5585c3/attachment.html
More information about the Grok-dev
mailing list