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
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )