[Zope3-Users] broken formlib - form.txt example

Tom Dossis td at yoma.com.au
Tue Feb 6 21:39:39 EST 2007


Vinny wrote:
> Using instructions from:
> /usr/local/www/Zope3/lib/python/zope/formlib/form.txt
> 
> With code straight out of it typed into the IDLE editor, saved
> as form.py and run using the F5 command:
> 
> Saving and running this gives: 
> 
> ComponentLookupError: ((<zope.schema._bootstrapfields.TextLine object
> at 0x8cf53cc>, <zope.publisher.browser.TestRequest instance
> URL=http://127.0.0.1>), <InterfaceClass
> zope.app.form.interfaces.IInputWidget>, u'')
> 
> 
> Sigh.  Am I jinxed?  I've been trying to learn zope 3 for six
> months now.  All I want is to be able to make a form from an
> interface and display the dang thing.  Is that too much to
> ask?  /rant
> 
> Does anyone know what's going wrong?  Do I need to upgrade
> anything?

Looks like you haven't done the 'setup' to wire-in the widgets (refer to
zope/formlib/tests.py which sets up the components used in form.txt).






More information about the Zope3-users mailing list