Re: [Zope-dev] Restricting Sub-Objects in Folders DYNAMICALLY?

2002-03-19 Thread Ivo van der Wijk
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

[Zope-dev] Restricting Sub-Objects in Folders DYNAMICALLY?

2002-03-16 Thread Brian Oliver
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 type of object that may appear in a folder. The end-user can add up

Re: [Zope-dev] Restricting Sub-Objects in Folders DYNAMICALLY?

2002-03-16 Thread Gary Poster
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]

Re: [Zope-dev] Restricting Sub-Objects in Folders DYNAMICALLY?

2002-03-16 Thread Max M
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