I figured out the problem.  In my interfaces I was using the contains and
containers methods.  When I stuck to the more tedious __parent__ = ...
approach as outlined in Stephan's book, all was solved.  

Thanks.


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of David Johnson
> Sent: Tuesday, November 28, 2006 2:21 PM
> To: 'Tom Gross'
> Cc: zope3-users@zope.org
> Subject: RE: [Zope3-Users] Custom Content Container
> 
> Yes indeed. I'm only using 1 Text and 3 TextLine fields.  This is my first
> attempt at this so I'm trying to keep it fairly simple.
> 
> 
> > -----Original Message-----
> > From: Tom Gross [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, November 28, 2006 2:05 PM
> > To: David Johnson
> > Cc: zope3-users@zope.org
> > Subject: Re: [Zope3-Users] Custom Content Container
> >
> > Hi David,
> >
> > which fields does your IOwner-interface consist of? You get this error
> > if you call an auto generated form from a List-field, without
> > having value_type specified, but there are other scenarios, so this
> > information would be helpful.
> >
> > Cheers
> > -Tom
> >
> > David Johnson wrote:
> > >
> > > 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/@@editT
> > PMOwner.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
> > >
> > > ----------------------------------------------------------------------
> --
> > >
> > > _______________________________________________
> > > Zope3-users mailing list
> > > Zope3-users@zope.org
> > > http://mail.zope.org/mailman/listinfo/zope3-users
> > >
> 
> 
> _______________________________________________
> Zope3-users mailing list
> Zope3-users@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to