25 Jun
2001
25 Jun
'01
12:58 p.m.
From: Rene Pijlman [mailto:rpijlman@wanadoo.nl]
Restrict the available objects list of a Python-based folderish product: http://www.zope.org/Members/rpijlman/FolderishProduct/Restrict AvailableObjec ts
From the Zope Developers guide:
http://www.zope.org/Documentation/ZDG/Products.dtml "If you wish to control which types of objects can be contained by instances of your product you can set the meta_types class attribute. This attribute should be a tuple of meta_types. This keeps other types of objects from being created in or pasted into instances of your product. The meta_types attribute is mostly useful when you are creating specialized container products." This would probably be easier... regards Max M