[Zope] Re: accessing folder property
Maik Jablonski
maik.jablonski@uni-bielefeld.de
Wed, 08 Jan 2003 14:58:40 +0100
Ulrich Wisser wrote:
> Hello,
>
> I try to access a folder property from within a product. But
> I have no clue what my python code should look like? I have
> my manage_test function called from the web, but how can I
> test if a property is available (in one of the parents)?
hi,
you could use something like:
if hasattr(self, 'propertyid'):
... property exists in one of the parents...
Cheers, Maik
--
German Zope User Group
http://www.dzug.org/