[Zope] PUT method & get property of parent folder

Marcus Schopen marcus@localguru.de
Tue, 09 Apr 2002 15:37:48 +0200


Maik Jablonski wrote:
> maybe I didn't understand the problem right away... but maybe this will work
> (it does for me):
> 
> if self.hasProperty('TIDY'):
>    ThenDoMuchMoreCleanUp
> 
> or:
> 
> if self.aq_parent.hasProperty('TIDY'):
>    ThenDoMuchMoreCleanUp


NO, both don't work in in the PUT method!