2005-12-06 | paulb | raw files shortlog changelog graph | [project @ 2005-12-06 18:57:43 by paulb] Fixed the initialisation of form objects for non-GET/POST requests. | |
XSLForms/Resources/WebResources.py (file) |
1.1 --- a/XSLForms/Resources/WebResources.py Tue Dec 06 18:57:09 2005 +0000 1.2 +++ b/XSLForms/Resources/WebResources.py Tue Dec 06 18:57:43 2005 +0000 1.3 @@ -284,10 +284,9 @@ 1.4 1.5 else: 1.6 1.7 - # Initialise empty containers. 1.8 + # Initialise empty container. 1.9 1.10 - parameters = {} 1.11 - documents = {} 1.12 + form = XSLForms.Fields.Form(encoding=self.encoding, values_are_lists=1) 1.13 1.14 # Call an overridden method with the processed request information. 1.15