Commit 681ddd96 authored by Ivan Tyagov's avatar Ivan Tyagov

Extend script parameter lists to support 'ignore_layout' and 'editable_mode' ....

Extend script parameter lists to support 'ignore_layout' and 'editable_mode' . These parameters are passed from web mode when editing WebSection's predicates.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14897 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7da49f97
...@@ -154,7 +154,7 @@ request[ \'RESPONSE\' ].redirect( redirect_url )\n ...@@ -154,7 +154,7 @@ request[ \'RESPONSE\' ].redirect( redirect_url )\n
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>form_id, selection_index=0, selection_name=\'\'</string> </value> <value> <string>form_id, selection_index=0, selection_name=\'\', ignore_layout=0, editable_mode=1</string> </value>
</item> </item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
...@@ -174,7 +174,7 @@ request[ \'RESPONSE\' ].redirect( redirect_url )\n ...@@ -174,7 +174,7 @@ request[ \'RESPONSE\' ].redirect( redirect_url )\n
<dictionary> <dictionary>
<item> <item>
<key> <string>co_argcount</string> </key> <key> <string>co_argcount</string> </key>
<value> <int>3</int> </value> <value> <int>5</int> </value>
</item> </item>
<item> <item>
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
...@@ -183,6 +183,8 @@ request[ \'RESPONSE\' ].redirect( redirect_url )\n ...@@ -183,6 +183,8 @@ request[ \'RESPONSE\' ].redirect( redirect_url )\n
<string>form_id</string> <string>form_id</string>
<string>selection_index</string> <string>selection_index</string>
<string>selection_name</string> <string>selection_name</string>
<string>ignore_layout</string>
<string>editable_mode</string>
<string>Products.Formulator.Errors</string> <string>Products.Formulator.Errors</string>
<string>ValidationError</string> <string>ValidationError</string>
<string>FormValidationError</string> <string>FormValidationError</string>
...@@ -223,6 +225,8 @@ request[ \'RESPONSE\' ].redirect( redirect_url )\n ...@@ -223,6 +225,8 @@ request[ \'RESPONSE\' ].redirect( redirect_url )\n
<tuple> <tuple>
<int>0</int> <int>0</int>
<string></string> <string></string>
<int>0</int>
<int>1</int>
</tuple> </tuple>
</value> </value>
</item> </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