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.

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

Reply via email to