Hello,

I am trying to construct an object tree. Every node in the tree is of
the same type. I am trying to achieve something like:

        class INode(Interface):
        
            parent = Object(
                title=u"Parent node",
                schema=INode
                )
        
            children = List(
                title=u'Child nodes',
                value_type=Object(schema=INode)
                )

The above fails with "NameError: name 'INode' is not defined". Any clues
as to how to solve this?

Regards,
Joe

-- 
Joe Steeve
HiPro IT Solutions Pvt. Ltd.
http://hipro.co.in/

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to