[Zope3-Users] Using metadata and __name__ in addform

Fred Drake fdrake at gmail.com
Thu May 12 09:52:47 EDT 2005

On 5/11/05, Florian Lindner <mailinglists at xgm.de> 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:


Does this help?


Fred L. Drake, Jr.    <fdrake at gmail.com>
Zope Corporation

More information about the Zope3-users mailing list