I wrote this simple app, where the RootPage has only a single
child, named 'form'. This child 'FormBuilder' is directly taken from
formbuilder.py in the example directory of last svn Nevow.
The child is correctly rendered but when I try to add an element
to the form, it doesn't appear (the formbuilder example work well
if a try the Nevow example).

Any help?

############################
###  Root Page
############################
from nevow import loaders
from nevow import rend
from nevow import tags as T
from nevow.stan import directive

from formbuilder import FormBuilder

class RootPage(rend.Page):
    addSlash = True

    docFactory = loaders.stan( T.html [ T.body [ T.a ( href='form' ) [ 'form page' ] ] ] )
   
    def child_form(self, ctx):
        return FormBuilder()
############################



----
Email.it, the professional e-mail, gratis per te: clicca qui

Sponsor:
Con la Pietra Naturale puoi grigliare carne, pesce e verdura direttamente in tavola!
Clicca qui