[Zope] Accessing CURRENT property

robert rottermann robert at redcor.ch
Mon Oct 3 23:32:13 EDT 2005


Alex Renier wrote:
>Hello,
>if I have a folder1 in a folder2 and my folder 1 has a
>certain property.  If I want to know if folder2 has
>the property I use hasattr() method on folder2, but it
>returns true because it looks down the hierarchy and
>sees the property in folder1.  is there a way to check
>for the property in folder2 ONLY without checking the
>ancestor folders?.
>
>Thanks!
>
>
>		
>__________________________________ 
>Yahoo! Mail - PC Magazine Editors' Choice 2005 
>http://mail.yahoo.com
>_______________________________________________
>Zope maillist  -  Zope at zope.org
>http://mail.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists - 
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zo
>  
context.aq_inner.aq_self


More information about the Zope mailing list