how to detect when a object is added through the zmi
Hi, Still learning and puzzling. I have an container object based on a product. I want to detect when a DTMLMethod with a specific id is added through the zmi, as to fire further action. Do I have any option? tia, cb
--On 10. August 2006 09:37:07 +0200 Kees de Brabander <cj.de.brabander@hccnet.nl> wrote:
Hi, Still learning and puzzling. I have an container object based on a product. I want to detect when a DTMLMethod with a specific id is added through the zmi, as to fire further action. Do I have any option? tia, cb
Starting Zope 2.9 you might use the new Event mechanism in Zope 2. I think there was good documentation on using Event. Florent from Nuxeo might know. Andreas
At Thursday 10/8/2006 04:37, Kees de Brabander wrote:
Still learning and puzzling. I have an container object based on a product. I want to detect when a DTMLMethod with a specific id is added through the zmi, as to fire further action. Do I have any option?
Which Zope version? Zope2: ObjectManager.manage_afterAdd Zope3: I don't know... Gabriel Genellina Softlab SRL __________________________________________________ Pregunt�. Respond�. Descubr�. Todo lo que quer�as saber, y lo que ni imaginabas, est� en Yahoo! Respuestas (Beta). �Probalo ya! http://www.yahoo.com.ar/respuestas
participants (3)
-
Andreas Jung -
Gabriel Genellina -
Kees de Brabander