[Zope] hopefully a simple hook (non-html version)

Max M maxm@mxm.dk
Tue, 22 Jan 2002 13:24:37 +0000


Matt wrote:

>I was wondering if there was a simple hook into ObjecManager or something
>like this that lets me know when an item in the container has been altered.
>At present I have to actively mine the container for changes to bobobase
>modification times of the objects it contains.  I have wrapped a small
>product around Folder.Folder to allow me to do this, but would like to find
>a hook that lets me know when the modification time of a contained object
>has changed.
>
No!

But could just  create a simple Python script in you root folder, that 
would traverse the next objectmanager in the aquisition path and get the 
"last modified date." Then you won't have to put the method in every 
Folder derived class you create.

regards Max M