[Product-Developers] zope.Schema field for referencing an object?

Maarten Nieber maarten at usecm.com
Fri Dec 16 16:44:03 UTC 2011


ComponentLookupError: ((<zope.schema._field.InterfaceField object at 0xb2f95cc>,
<HTTPRequest, URL=http://localhost:8080/em/etapa-
nova/++add++elmolino.types.artist>), <InterfaceClass 
z3c.form.interfaces.IFieldWidget>, u'')
/home/mnieber/.buildout/eggs/zope.component-3.9.5-
py2.6.egg/zope/component/_api.py(109)getMultiAdapter()
default)
def getMultiAdapter(objects, interface=Interface, name=u'',
context=None):
    adapter = queryMultiAdapter(objects, interface, name, context=context)
    if adapter is None:
        raise ComponentLookupError(objects, interface, name)
    return adapter
def queryMultiAdapter(objects, interface=Interface, name=u'', default=None,
 context=None):





More information about the Product-Developers mailing list