Re: [Zope3-Users] Composing content objects

2006-05-16 Thread Jachin Rupe
On May 16, 2006, at 3:20 AM, Achim Domma wrote: 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 t

Re: [Zope3-Users] Composing content objects

2006-05-16 Thread Achim Domma
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 r

Re: [Zope3-Users] Composing content objects

2006-05-16 Thread Dominik Huber
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.

Re: [Zope3-Users] Composing content objects

2006-05-15 Thread mats.nordgren
>line 23, in IWorkspace value_type=Object(title=u"Object", > description=u"adsf"), in zope/schema/_field.py class Object(Field): __doc__ = IObject.__doc__ implements(IObject) def __init__(self, schema, **kw): < you need to pass a schema as a non key-word if not IInte

RE: [Zope3-Users] Composing content objects

2006-05-15 Thread David Johnson
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. _

Re: [Zope3-Users] Composing content objects

2006-05-14 Thread Achim Domma
David Johnson wrote: The exact traceback would be useful. Can you post it? The traceback follows below. regards, Achim Traceback (most recent call last): File "C:\develop\ZopeWorkspace\Zope3\z3.py", line 64, in ? run() File "C:\develop\ZopeWorkspace\Zope3\z3.py", line 60, in run

RE: [Zope3-Users] Composing content objects

2006-05-13 Thread David Johnson
The exact traceback would be useful. Can you post it? > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Achim Domma > Sent: Saturday, May 13, 2006 5:30 AM > To: zope3-users@zope.org > Subject: [Zope3-Users] Composing content objects > > Hi, > > than