[Zope3-Users] Composing content objects
Dominik Huber
dominik.huber at perse.ch
Tue May 16 03:13:03 EDT 2006
David Johnson wrote:
> The problem appears to lie here:
>
>> File
>> "C:\develop\ZopeWorkspace\ZopeProducts\src\proCoders\interfaces.py",
>> line 23, in IWorkspace
>> value_type=Object(title=u"Object",description=u"adsf"),
>>
>
> Hard to tell what's going on without the code, but poke around there.
>
The object field requires a schema parameter:
value_type=Object(title=u"Object",description=u"adsf", schema=IAnySchemaOrInterface),
If any interfaces are allowed this should work:
value_type=Object(title=u"Object",description=u"adsf", schema=zope.interface.Interface),
Regards,
Dominik
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
>
--
Dominik Huber
Perse Engineering GmbH
Jurastrasse 9a
CH-5406 Baden
Telefon +41 44 586 68 86
E-Mail info at perse.ch
Internet www.perse.ch
More information about the Zope3-users
mailing list