Andrew Groom wrote:
Thanks for your reply. I have seen references on how to set up adapters in code, but I was trying avoid having to duplicate things that have already been defined in zcml. However, if there's no other way around it, then that's what I'll have to do.


Well, you could always install zope.configuration as well and then just use the zcml, but provideAdapter is pretty lightweight and is what the zcml stuff ends up calling under the hood anyway...

cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
           - http://www.simplistix.co.uk

_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to