<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.18.0">
</HEAD>
<BODY>
On mer, 2008-03-19 at 06:33 -0700, garz wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">have some views for some content:</FONT>
<FONT COLOR="#000000">class SomeContentDisplayForm(z3c.formui.layout.FormLayoutSupport,</FONT>
<FONT COLOR="#000000">z3c.form.form.DisplayForm):</FONT>
<FONT COLOR="#000000">      fields = z3c.form.field.Fields(ISomeConcent)</FONT>
<FONT COLOR="#000000">class SomeContentEditForm(z3c.formui.layout.FormLayoutSupport,</FONT>
<FONT COLOR="#000000">z3c.form.form.EditForm):</FONT>
<FONT COLOR="#000000">      fields = z3c.form.field.Fields(ISomeConcent)</FONT>

<FONT COLOR="#000000">if i try to use the view, a componentlookuperror is raised:</FONT>
<FONT COLOR="#000000">IFieldWidgets cant be looked up</FONT>

<FONT COLOR="#000000">i thought, the errors source was the BrowserRequest, which should be marked</FONT>
<FONT COLOR="#000000">with the skin-type. if it was it should look up the adapter from the right</FONT>
<FONT COLOR="#000000">layer. so i think something is wrong with my skin registration.</FONT>

<FONT COLOR="#000000">could please somebody help me. i'm stuck with the problem. :(</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
I think I had the same problem while using z3c.form &quot;DisplayForm&quot; subclass.<BR>
Problem disappeared by using an &quot;EditForm&quot; subclass and setting form's mode to &quot;DISPLAY_MODE&quot;...<BR>
<BR>
Thierry
</BODY>
<br />-- 
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
</HTML>