[Zope3-Users] z3c.form / TextLine-Schema in List-Schema

Markus Leist ml_zope3_dev at ikom-online.de
Mon Sep 3 05:58:01 EDT 2007


Hi

some addition to my mail:

this is an object-instance from http://trac.ict-ok.org/browser/trunk/org/ict_ok/components/net/interfaces.py :
http://demo1.ict-ok.org/243cc85c808da990a939a4ae361c67a12/edit.html
all works great

this is an object-instance from http://trac.ict-ok.org/browser/trunk/org/ict_ok/components/host/interfaces.py :
http://demo1.ict-ok.org/243cc85c808da990a939a4ae361c67a12/c1c0f0290ac1034b761044ea233dbf9f7/edit.html
with the error:
> ComponentLookupError: ((<zope.schema._field.List object at 0x958d98c>, <zope.schema._bootstrapfields.TextLine object at
> 0x958d96c>, <zc.resourcelibrary.publication.Request instance URL=http://demo1.ict-ok.org/243cc85c808da990a939a4ae361c67a
> 12/c1c0f0290ac1034b761044ea233dbf9f7/edit.html>), <InterfaceClass z3c.form.interfaces.IFieldWidget>, u'')
the error (with stacktrace) will be renderd in the web-page, too.

We can try out any idea on the test-site above:
http://demo1.ict-ok.org
login is: 'zope3', password 'zope3'   (valid on 2007-09-03)

Markus

ps. yes, z3c.form is great, but also complicated ..

Am Montag 03 September 2007 um 11:33 Uhr schrieb Markus Leist <ml_zope3_dev at ikom-online.de>:
> Hello,
> 
> i've tried out diffenrent parts of z3c.formdemo, but there is noch schema.List from schema.Textline
> example in the demo.
> 
> when omitting the osList-attribute by:
> > 109 	    fields = field.Fields(IHost).omit(*HostDetails.omit_editfields)
> > [see http://trac.ict-ok.org/browser/trunk/org/ict_ok/components/host/browser/host.py ]
> > with HostDetails.omit_editfields = ['osList']
> z3c.form work great, so accordingly the request must be ok, right?
> 
> form registration is in line 44 of http://trac.ict-ok.org/browser/trunk/org/ict_ok/components/host/browser/configure.zcml
> 
> you can see my IFormLayer in
> http://trac.ict-ok.org/browser/trunk/org/ict_ok/skin/interfaces.py line 27
> 
> the widget from z3c.form are "too sharp for me". I think, there is my problem.
> 
> Thanx so far
> 
> Markus
>


More information about the Zope3-users mailing list