<P>I wrote this simple app, where the RootPage has only a single<BR>child, named 'form'. This child 'FormBuilder' is directly taken from<BR>formbuilder.py in the example directory of last svn Nevow.<BR>The child is correctly rendered but when I try to add an element<BR>to the form, it doesn't appear (the formbuilder example work well<BR>if a try the Nevow example). <BR><BR>Any help?<BR><BR>############################<BR>### Root Page<BR>############################<BR>from nevow import loaders<BR>from nevow import rend<BR>from nevow import tags as T<BR>from nevow.stan import directive</P>
<P>from formbuilder import FormBuilder</P>
<P>class RootPage(rend.Page):<BR> addSlash = True</P>
<P> docFactory = loaders.stan( T.html [ T.body [ T.a ( href='form' ) [ 'form page' ] ] ] )<BR> <BR> def child_form(self, ctx):<BR> return FormBuilder()<BR>############################<BR><BR><BR></P><br><p><font face=Verdana,Arial size=2>----<br>
Email.it, the professional e-mail, gratis per te: <a href="http://www.email.it/cgi-bin/start?sid=3"
target="_blank" >clicca qui</a> <br>
<br>
Sponsor:<br>
Con la Pietra Naturale puoi grigliare carne, pesce e verdura direttamente in tavola!<br>
<a href="http://adv.email.it/cgi-bin/foclick.cgi?mid=2743&d=20050107" target="_blank" >Clicca qui</a> </font><br>