[Zope-dev] Python products

Chris Withers chrisw@nipltd.com
Wed, 07 Feb 2001 09:59:07 +0000


Tom Deprez wrote:
> 
> A simple zclass which contains some data (this is easy with the existing
> examples)

Yup

> A folder-like zclass which only allows to contain the simple zclass. (easy?)

Subclass OFS.Folder

> A folder-like zclass which allows to contain the 2 above classes (probably
> easy if I've an example of the 2de class)

Ditto

You may have to do somethign funky if you want to limit the types of object that
appear in the 'Add' list of your new classes. I have no idea how to do that :-S

cheers,

Chris