RE: [Zope] Restrict object list in folderish product, it works, b ut how?
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
Stephan Richter's "OrderedFolder" (http://www.zope.org/Members/srichter/Products/OrderedFolder) has two new features now: - There is a "Subobjects" tab like in ZClasses (That's what you seem to be looking for) - You can switch on/off "Transparency" if you have installed Shane's TransparentFolder So the name of the thing should probably be "ConfigurableFolder" or so. If you think this thing could make your life easier, we can publish the new version as a standalone product. It was meant to be published with the next version of Kontentor. Just tell us what you think ... Joachim
Stephan Richter's "OrderedFolder" (http://www.zope.org/Members/srichter/Products/OrderedFolder) has two new features now: - There is a "Subobjects" tab like in ZClasses (That's what you seem to be looking for) - You can switch on/off "Transparency" if you have installed Shane's TransparentFolder So the name of the thing should probably be "ConfigurableFolder" or so. If you think this thing could make your life easier, we can publish the new version as a standalone product. It was meant to be published with the next version of Kontentor. Just tell us what you think ... Joachim
participants (2)
-
Joachim Werner -
Max Møller Rasmussen