[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

[Zope-dev] aq_parent not available in __setattr__

2002-02-05 Thread Brian Oliver
1. I need to track changes to particular attributes of an object in a python based product. 2. I redefine __setattr__ to perform the necessary operations. def __setattr__(self, name, value): some nice comments #pre-processing #store the specified attribute

Re: [Zope-dev] aq_parent not available in __setattr__

2002-02-05 Thread Brian Oliver
From: Dieter Maurer [EMAIL PROTECTED] To: Brian Oliver [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [Zope-dev] aq_parent not available in __setattr__ Date: Tue, 5 Feb 2002 23:08:13 +0100 Brian Oliver writes: ... Share reported for __getattr__ (-- mailing list archives) that the self passed