From d6a0a21c9cf7214953f0564b21d4c1dafdb0d4b2 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Mon, 26 Jun 2006 16:58:21 +0000 Subject: [PATCH] Correct prototype. Disable function until an API is defined for form data passing from one page to another. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8175 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../ERP5Site_getHTTPParameterList.xml | 24 +++++++------------ 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getHTTPParameterList.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getHTTPParameterList.xml index 5955b126b3..5d4ae726cb 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getHTTPParameterList.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getHTTPParameterList.xml @@ -68,13 +68,12 @@ </item> <item> <key> <string>_body</string> </key> - <value> <string>myrequest = request.clone()\n -dict = myrequest.form\n -if dict.has_key(\'-C\'):\n - del dict[\'-C\'] # Why is something like that in the request ? What does it mean ?\n -for k, v in kw.items():\n - dict[k] = v\n -return dict\n + <value> <string># Disabled until a correct API for html forms is defined.\n +#for k, v in request_form.items():\n +# kw[k]=v\n +#if kw.has_key(\'-C\'):\n +# del kw[\'-C\'] # Why is something like that in the request ? What does it mean ?\n +return kw\n </string> </value> </item> <item> @@ -95,7 +94,7 @@ return dict\n </item> <item> <key> <string>_params</string> </key> - <value> <string>request, **kw</string> </value> + <value> <string>request_form, **kw</string> </value> </item> <item> <key> <string>errors</string> </key> @@ -121,15 +120,8 @@ return dict\n <key> <string>co_varnames</string> </key> <value> <tuple> - <string>request</string> + <string>request_form</string> <string>kw</string> - <string>_getattr_</string> - <string>myrequest</string> - <string>dict</string> - <string>_write_</string> - <string>_getiter_</string> - <string>k</string> - <string>v</string> </tuple> </value> </item> -- 2.30.9