[Zope] Re: accessing folder property
Chris Withers
chrisw@nipltd.com
Fri, 10 Jan 2003 18:37:17 +0000
Maik Jablonski wrote:
> I don't think your proposal is a solution for the problem... hasProperty
> doesn't use acquisition, so you check only the current object for a
> property. The original poster wanted to check if a property was set in
> an aquired folder... sure, he can't rely on that
> hasattr(self,'propertyid') is a property [=> can be any aquired object].
Apologies, that was me misreading. Your way is the way to go then :-)
cheers,
Chris