On Sat, Mar 16, 2002 at 08:18:32PM +1000, Brian Oliver wrote:
> I would like to restrict the types of objects (from a python-based product)
> that may be placed in Folders, or any other dumb container, based on certain
> conditions.
>
> For example: I'd like to restrict the number of a certain
Brian Oliver wrote:
> For example: I'd like to restrict the number of a certain type of
> object that may appear in a folder. The end-user can add up to the
> limit, and afterwards the object type should NO LONGER APPEAR in the
> "Add List".
If you put this in your product:
def all_me
Does OrderedFolder do what you want? See
http://demo.iuveno-net.de/iuveno/Products/OrderedFolder (item 3 in the list
of features). It may or may not be a standard folder feature in 2.6 as
well.
Gary
___
Zope-Dev maillist - [EMAIL PROTECTED]
http: