{Spam?} Re: [Zope3-Users] Problem with z3c.form / z3c.formui packages

Thierry Florac tflorac at ulthar.net
Fri Mar 28 02:38:37 EDT 2008


On mer, 2008-03-19 at 06:33 -0700, garz wrote:

> have some views for some content:
> class SomeContentDisplayForm(z3c.formui.layout.FormLayoutSupport,
> z3c.form.form.DisplayForm):
>       fields = z3c.form.field.Fields(ISomeConcent)
> class SomeContentEditForm(z3c.formui.layout.FormLayoutSupport,
> z3c.form.form.EditForm):
>       fields = z3c.form.field.Fields(ISomeConcent)
> 
> if i try to use the view, a componentlookuperror is raised:
> IFieldWidgets cant be looked up
> 
> i thought, the errors source was the BrowserRequest, which should be marked
> with the skin-type. if it was it should look up the adapter from the right
> layer. so i think something is wrong with my skin registration.
> 
> could please somebody help me. i'm stuck with the problem. :(


I think I had the same problem while using z3c.form "DisplayForm"
subclass.
Problem disappeared by using an "EditForm" subclass and setting form's
mode to "DISPLAY_MODE"...

Thierry

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope3-users/attachments/20080328/7a22a8c8/attachment.htm


More information about the Zope3-users mailing list