mats.nordgren wrote:

    def __init__(self, schema, **kw): <---- you need to pass a schema as a non
key-word



Thanks! That solved my problem. Now I get a component lookup error, but I think this is, because there is no default widget for the object. So I have to register one via zcml. Am I right?

regards,
Achim

PS.: Also thanks to Dominik, which pointed me to the same solution.
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to