<html>
    <head>
        <title></title>
        <style type="text/css" media="screen">
body {font-family: verdana, arial, helvetica, sans-serif;font-size: 12px;padding: 5px;margin: 0;background-color: #FFF;}
p, ul, li {margin-top: 0;margin-bottom: 0;}
blockquote {margin-left: 5px;}
div.signature {color: #666;font-size: 0.9em;}
</style>
    </head>
    <body>
        Hello again!<br /><br />This time I am trying to use schema.Object and I am getting a ComponentLookupError when accessing the generated form. Here are the interface definitions:<br /><br /><span style="font-family: Courier;">class IFooField(interface.Interface):</span><br style="font-family: Courier;" /><span style="font-family: Courier;">&nbsp;&nbsp;&nbsp; name = schema.TextLine(title=u'Field Name', required = True)</span><br style="font-family: Courier;" /><span style="font-family: Courier;">&nbsp;&nbsp;&nbsp; format = schema.Choice(title=u'Field Format', required = True, values = ['Text', 'Date', 'Number'])</span><br style="font-family: Courier;" /><span style="font-family: Courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><br style="font-family: Courier;" /><span style="font-family: Courier;">class IFoo(interface.Interface):</span><br style="font-family: Courier;" /><span style="font-family: Courier;">&nbsp;&nbsp;&nbsp; title=schema.TextLine(title=u'Title',required=True)</span><br style="font-family: Courier;" /><span style="font-family: Courier;" /><span style="font-family: Courier;">&nbsp;&nbsp;&nbsp; description=schema.TextLine(title=u'Description',required=False)</span><br style="font-family: Courier;" /><span style="font-family: Courier;">&nbsp;&nbsp;&nbsp; data_fields = schema.Object(title=u'Fields', required = False, schema = IFooField)</span><br /><br />Do I need to do anything special or should calling grok.AutoFields on the form view suffice?<br /><br />Thanks,<br />Sascha
    <div class="signature"><br /><br /><br />-- <br />GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!<br />Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01</div></body>
</html>