[Zope-dev] aq_parent not available in __setattr__
Stefan H. Holek
stefan@epy.co.at
Wed, 06 Feb 2002 11:12:00 +0100
At 06.02.2002 11:19 +1000, Brian Oliver wrote:
>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)?
I hope I did not misunderstand your problem but I used to successfully
create "hooks" with code derived from the following products:
http://www.zope.org/Members/tmclaugh/ZClassEvents
http://www.zope.org/Members/htrd/BetterCatalogAware
HTH,
Stefan