[Twisted-web] formless problem

Eric Faurot eric.faurot at gmail.com
Fri Jan 7 06:50:56 MST 2005


> 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?

Because you always return a new formbuilder when accessing child_form.
So modifications are lost after the request is processed.
You must keep it in the user session somehow. 

Eric.



More information about the Twisted-web mailing list