Am Samstag, 18. August 2007 12:53 schrieb Florian Lindner: > Hello, > I try to create an edit form with z3c.form but it gives me an system error > only: > > File "/home/florian/Desktop/zope/lib/python/z3c/form/form.py", line 120, > in updateWidgets > self.widgets = zope.component.getMultiAdapter( > File "/home/florian/Zope3/src/zope/component/_api.py", line 103, in > getMultiAdapter > raise ComponentLookupError(objects, interface, name) > ComponentLookupError: ((<zope.app.publisher.browser.viewmeta.EditEntry > object at 0x9f6c68c>, <zope.publisher.browser.BrowserRequest instance > URL=http://localhost:8080/Blog/2007_08_16_abc/EditEntry.html>, > <Blog.blog.BlogEntry object at 0x9264d2c>), <InterfaceClass > z3c.form.interfaces.IWidgets>, u'') > 127.0.0.1 - - [18/Aug/2007:12:45:24 > +0200] "GET /Blog/2007_08_16_abc/EditEntry.html HTTP/1.1" 500 > 89 "-" "Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.7 (like > Gecko)" > 127.0.0.1 - - [18/Aug/2007:12:45:25 +0200] "GET /favicon.ico HTTP/1.1" 404 > 4159 "-" "Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.7 (like > Gecko)"
Hmmm, perhaps the browser request is not marked with the IFormLayer layer? (Hence you need a skin that derives from it.) Moreover I think you have to use pagelets instead of browser pages for your form? Regards, Hermann -- [EMAIL PROTECTED] GPG key ID: 299893C7 (on keyservers) FP: 0124 2584 8809 EF2A DBF9 4902 64B4 D16B 2998 93C7 _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users