On 5/11/05, Florian Lindner <[EMAIL PROTECTED]> wrote: > factory = annotatableadapter.partialAnnotatableAdapterFactory(["title"]) > > I'm not sure where to place this call (in the interface, in the > implementation, in which function, ...) and what to do with the factory > variable. Is there a real example for that? Besides the tests in partial.txt.
Here, "factory" is a new IZopeDublinCore factory. It should be registered as the adapter for the relevant content type via ZCML: <adapter for=".impl.MyContentClass" provides="zope.app.dublincore.interfaces.IZopeDublinCore" factory="impl.factory" /> Does this help? -Fred -- Fred L. Drake, Jr. <fdrake at gmail.com> Zope Corporation _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users