Am 08.06.2011, 11:31 Uhr, schrieb Joe Steeve <j...@hipro.co.in>: > How do we get the list of subscribers for a particular event?
By checking the registry for all adapters registered. from zope.component import queryAdapter queryAdapter(object, interface) ... # check the syntax and make sure you have the registry loaded. >> Why do want to disable notification? > We dont want to disable notification. We are just trying to understand > how zope.formlib works. We were of the understanding that every > 'request' starts and ends a transaction automatically (somewhere). So, > seeing this explicit notify() confused us. Note that adding a new object > does not require this explicit notify(). The transactional stuff does not happen in zope.formlib. Unfortunately zope.formlib is a bit opaque in the way it works. > Further, if we have to expect the developer to manually notify after > every change, it could invite unnecessary bugs. Which is why you should let the library handle this for you wherever possible and something you write tests for. > We are killing the server with a "Ctrl-C". Maybe something is not > getting flushed out to the disk yet? No, that is not likely to be the case. Charlie -- Charlie Clark Managing Director Clark Consulting & Research German Office Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-600-3657 Mobile: +49-178-782-6226 _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )