Commit d6a0a21c authored by Vincent Pelletier's avatar Vincent Pelletier

Correct prototype. Disable function until an API is defined for form data...

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
parent 686bdf98
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment