[Zope] getting parent in product

Jens Vagelpohl jens@zope.com
Fri, 1 Aug 2003 14:13:10 -0400


add a method with the signature "manage_afterAdd(self, item, 
container)" to the class that you are instantiating. it is always 
called after instantiation.

jens


On Friday, Aug 1, 2003, at 14:04 US/Eastern, Christopher N. Deckard 
wrote:

>   What I would like to add is the ability
> to call a script immediately after the object is created.  The
> script could do things like auto-catalog images in a ZCatalog or
> send out an email every time a file is uploaded.