[Twisted-Python] Web MVC hello world difficulties
Jonathan Lange
jml at mumak.net
Fri Sep 6 17:03:32 MDT 2002
On Wed, 2002-09-04 at 14:12, Jonathan Lange wrote:
> I am trying to use Web MVC to create a simple page that has a form with
> a single text field. When something is entered into the text field,
> 'Hello World!' should be displayed in the greeting section.
>
> I cannot get it to work, the greeting field remains unchanged, and the
> value in the text field keeps being reset.
I have resolved this.
The above behaviour is entirely consistent with the model object not
being stored between requests. When the relevant fields are kept in a
persistent store (viz. a text file), the problem magically goes away.
regards,
jml
More information about the Twisted-Python
mailing list