[Zope3-Users] Custom Content Container

David Johnson djohnson at jsatech.com
Tue Nov 28 07:45:37 EST 2006


I created a custom content container that reads entries from a MySQL
database and allows editing of the container objects.  Or at least that is
my desire...

 

The content container by itself "seems" to work well.  However when I click
on an object in the contents ZMI view, I receive the following exception:

 

ComponentLookupError: ((<zope.schema._bootstrapfields.Field object at
0x420f450c>, <zope.publisher.browser.BrowserRequest instance
URL=http://192.168.81.89:8070/++etc++site/default/TPM%20on%20Dev/4/@@editTPM
Owner.html>), <InterfaceClass zope.app.form.interfaces.IInputWidget>, u'')


I'm not quite sure why "IInputWidget" is being looked up, though I suppose
it has something to do with the form I am creating, and I'm not sure why it
is not finding what it is looking for.

 

editTPMOwner.html is simply a <browser:editform> ZCML directive that uses
schema IOwner.

 

Any ideas or thoughts?  Thanks so kindly in advance.

 

--

David Johnson

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope3-users/attachments/20061128/51243f58/attachment.htm


More information about the Zope3-users mailing list