Hi, I'm working throw the ZDevelopers guide, and want to try using nested
ZClasses,

e.g.

I have a product CDcollection, which contains a ZClass ZCDcollection, I want
ZCDcollection to contain instances of a sub class ZCDinformation (for
individual CDs).

According to the Doc's I should make the top class "ZCDcollection" a sub
class of object manager and then create the subclass "ZCDinformation" in the
methods tab of the ZCDcollection class.


The docs say that Zope should then make this available in the subobjects tab
of "ZCDcollection"
but it doesn't.

The only way I can get the ZCDinformation class avialable in the subobjects
tab of the ZCDcollection class is if I make the ZCDinformation class at the
same level as the ZCDcollection class, i.e. under product/CDcollection
folder.



in summary


Products/CDcollection/ZCDcollection
Products/CDcollection/ZCDinformation

makes ZCDinformation avialable to the ZCDcollection subobjects tab

but

Products/CDcollection/ZCDcollection/ZCDinformation does not?



 Can any one explain this?


 thanks in advance,

        Dave.






_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to