[Zope-CMF] CMF Document afterCreate for workflow

Tres Seaver tseaver@zope.com
Thu, 13 Sep 2001 06:21:35 -0400


Lynn Walton wrote:

> Tres, in your answer about Workflowcore.afterCreate being moved to
> PortalContent.manage_afterAdd, I'm still not clear ... why CMFDefault
> Document
> doesn't call manage_afterAdd.   When should a CMF type call this or not?


No -- manage_afterAdd is a hook which objects implement, in order
to be notified by their ObjectManager (container), which will call
it as they are added to it.


-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com