-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Allen Huang wrote:
> I found out what my problem is. > in my code I please baseclass Item before Folder > class ShpProjectClass(Item, Folder, Persistent, Implicit, CatalogAware): > when I change the order, it worked normally > class ShpProjectClass(Folder, Item, Persistent, Implicit, CatalogAware): > but I don't understand why? could someone explain this to me? Because 'Item' implements the "containerish" methods as no-ops: it isn't intended to be anything other than a "leaf" object. Moving 'Folder' to the front means you are using *its* implmenetations of the containerish methods, instead. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF9rkO+gerLs4ltQ4RAj/5AJ46ej2Jqo9Q+EnEc+BdrylV+UwR+ACfdpgz 7vSgMGf8gqlMxs1TzA+9Lvc= =RgEe -----END PGP SIGNATURE----- _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )