Zope and Events (was re: Automatically run an external method?)
Hi Bruce Perhaps this is also worth a look: http://www.zope.org/Members/tmclaugh/ZClassEvents Quoting: """ This product will hotfix Zope to add some events to ZClasses for handling. The following events are added. They allow developers to: - validate properties (raise an error if property changes are not reasonable) - catalog upon change(no longer have to remember to catalog after changing the object) - notify owner, etc. (send emails) - and on and on... Events: onAdd(self, REQUEST) - Raised after a ZClass instance is created, renamed, or cut and pasted. onDelete(self, REQUEST) - Raised before a ZClass instance is deleted, renamed, or cut and pasted. onClone(self, REQUEST) - Raised before a ZClass instance is copied. - Raised before onAdd. onPropertyChange(self, propertysheet_id, changes, REQUEST) - Raised upon a property change on ZClass defined propertysheets. """ Regards, Jean
participants (1)
-
Jean Jordaan