[Zope] 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 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] how to detect when a object is added through the zmi
--On 10. August 2006 09:37:07 +0200 Kees de Brabander [EMAIL PROTECTED] 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 pgpjWLUURD3uQ.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] how to detect when a object is added through the zmi
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 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )