Yep... Certainly isn't.
Aquisition isn't available for either __getattr__ or __setattr__.
So the fundamental question remains...
How does one receive a callback/create a hook that is called when an
attribute is changed, especially changed via the default property editor for
Zope objects (such that aquisition still works)?
If this type of feature isn't already planned for Zope 3 (I'll take a look
and get active), I'm sure it should be. My suggestion would be to provide
Java Beans like get and set methods for all properties, so custom handlers
could easily be created.
>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 in is not acquisition wrapped.
>Maybe, this is also the case for its companion "__setattr__"...
Join the world’s largest e-mail service with MSN Hotmail.
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -