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
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
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.
>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
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.
_
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
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