[Zope-dev] ZPatterns -- trigger add events not working
Steve Alexander
steve@cat-box.net
Wed, 12 Jul 2000 09:10:20 +0100
Steve Alexander wrote:
>
> You could have a flag in DataSkin instances called _has_been_added. It
> is initially cleared. It gets set when manage_afterAdd is called on it.
>
> The DataSkin sends an _objectChanging event only if the _has_been_added
> flag is set.
Of course, the name of the attribute should be more like
_v_has_been_added :-)
--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net