Commit cfa45948 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

Bugfix and cleanup of listbox configurations.

* use my_list_mode_listbox instead of my_view_mode_listbox in WebPageModule_viewWebPageList/listbox and WebSiteModule_viewWebSiteList/listbox.
* fix count_method WebSection_viewAsWeb/listbox and WebSection_viewContent/listbox.
* fix selection_name in WebPage_viewContentList/listbox, WebSite_view/listbox and WebSite_viewSite/listbox.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27009 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2287edde
...@@ -13,17 +13,12 @@ ...@@ -13,17 +13,12 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>domain_root_list</string>
<string>title</string> <string>title</string>
<string>select</string> <string>lines</string>
<string>selection_name</string>
<string>columns</string> <string>columns</string>
<string>count_method</string> <string>selection_name</string>
<string>default_params</string>
<string>list_method</string>
<string>domain_tree</string> <string>domain_tree</string>
<string>search</string> <string>domain_root_list</string>
<string>lines</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -127,18 +122,6 @@ ...@@ -127,18 +122,6 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>count_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>default_params</string> </key>
<value>
<list/>
</value>
</item>
<item> <item>
<key> <string>domain_root_list</string> </key> <key> <string>domain_root_list</string> </key>
<value> <value>
...@@ -156,7 +139,7 @@ ...@@ -156,7 +139,7 @@
</item> </item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_view_mode_listbox</string> </value> <value> <string>my_list_mode_listbox</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
...@@ -166,20 +149,6 @@ ...@@ -166,20 +149,6 @@
<key> <string>lines</string> </key> <key> <string>lines</string> </key>
<value> <int>30</int> </value> <value> <int>30</int> </value>
</item> </item>
<item>
<key> <string>list_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>search</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>select</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>web_page_module_view_web_page_list_selection</string> </value> <value> <string>web_page_module_view_web_page_list_selection</string> </value>
...@@ -198,36 +167,4 @@ ...@@ -198,36 +167,4 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>countFolder</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>searchFolder</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -13,15 +13,13 @@ ...@@ -13,15 +13,13 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>editable_columns</string>
<string>title</string> <string>title</string>
<string>selection_name</string>
<string>columns</string>
<string>default_params</string>
<string>list_method</string>
<string>lines</string> <string>lines</string>
<string>list_action</string> <string>columns</string>
<string>selection_name</string>
<string>portal_types</string> <string>portal_types</string>
<string>editable_columns</string>
<string>list_action</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -109,12 +107,6 @@ ...@@ -109,12 +107,6 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>default_params</string> </key>
<value>
<list/>
</value>
</item>
<item> <item>
<key> <string>editable_columns</string> </key> <key> <string>editable_columns</string> </key>
<value> <value>
...@@ -146,12 +138,6 @@ ...@@ -146,12 +138,6 @@
<key> <string>list_action</string> </key> <key> <string>list_action</string> </key>
<value> <string>Folder_viewContentList</string> </value> <value> <string>Folder_viewContentList</string> </value>
</item> </item>
<item>
<key> <string>list_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>portal_types</string> </key> <key> <string>portal_types</string> </key>
<value> <value>
...@@ -169,7 +155,7 @@ ...@@ -169,7 +155,7 @@
</item> </item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>category_view_selection</string> </value> <value> <string>page_content_selection</string> </value>
</item> </item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
...@@ -185,20 +171,4 @@ ...@@ -185,20 +171,4 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>objectValues</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -13,16 +13,17 @@ ...@@ -13,16 +13,17 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>editable_columns</string>
<string>title</string> <string>title</string>
<string>select</string> <string>lines</string>
<string>selection_name</string>
<string>columns</string> <string>columns</string>
<string>sort</string> <string>sort</string>
<string>list_method</string> <string>list_method</string>
<string>search</string> <string>count_method</string>
<string>lines</string> <string>selection_name</string>
<string>portal_types</string> <string>portal_types</string>
<string>search</string>
<string>select</string>
<string>editable_columns</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -102,6 +103,10 @@ ...@@ -102,6 +103,10 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>count_method</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>editable_columns</string> </key> <key> <string>editable_columns</string> </key>
<value> <value>
......
...@@ -13,15 +13,16 @@ ...@@ -13,15 +13,16 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>editable_columns</string>
<string>title</string> <string>title</string>
<string>select</string>
<string>selection_name</string>
<string>columns</string> <string>columns</string>
<string>sort</string> <string>sort</string>
<string>list_method</string> <string>list_method</string>
<string>search</string> <string>count_method</string>
<string>selection_name</string>
<string>portal_types</string> <string>portal_types</string>
<string>search</string>
<string>select</string>
<string>editable_columns</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -113,6 +114,10 @@ ...@@ -113,6 +114,10 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>count_method</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>editable_columns</string> </key> <key> <string>editable_columns</string> </key>
<value> <value>
......
...@@ -14,15 +14,10 @@ ...@@ -14,15 +14,10 @@
<value> <value>
<list> <list>
<string>title</string> <string>title</string>
<string>select</string> <string>lines</string>
<string>selection_name</string>
<string>columns</string> <string>columns</string>
<string>count_method</string> <string>selection_name</string>
<string>default_params</string>
<string>list_method</string>
<string>domain_tree</string> <string>domain_tree</string>
<string>search</string>
<string>lines</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -106,25 +101,13 @@ ...@@ -106,25 +101,13 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>count_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>default_params</string> </key>
<value>
<list/>
</value>
</item>
<item> <item>
<key> <string>domain_tree</string> </key> <key> <string>domain_tree</string> </key>
<value> <int>1</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_view_mode_listbox</string> </value> <value> <string>my_list_mode_listbox</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
...@@ -134,20 +117,6 @@ ...@@ -134,20 +117,6 @@
<key> <string>lines</string> </key> <key> <string>lines</string> </key>
<value> <int>30</int> </value> <value> <int>30</int> </value>
</item> </item>
<item>
<key> <string>list_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>search</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>select</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>web_site_module_view_web_site_list_selection</string> </value> <value> <string>web_site_module_view_web_site_list_selection</string> </value>
...@@ -166,36 +135,4 @@ ...@@ -166,36 +135,4 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>countFolder</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>searchFolder</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
<value> <value>
<list> <list>
<string>title</string> <string>title</string>
<string>selection_name</string>
<string>columns</string>
<string>lines</string> <string>lines</string>
<string>list_action</string> <string>columns</string>
<string>selection_name</string>
<string>portal_types</string> <string>portal_types</string>
<string>list_action</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
</item> </item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>category_view_selection</string> </value> <value> <string>site_content_selection</string> </value>
</item> </item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
......
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
<value> <value>
<list> <list>
<string>title</string> <string>title</string>
<string>selection_name</string>
<string>columns</string>
<string>lines</string> <string>lines</string>
<string>list_action</string> <string>columns</string>
<string>selection_name</string>
<string>portal_types</string> <string>portal_types</string>
<string>list_action</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
</item> </item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>category_view_selection</string> </value> <value> <string>site_content_selection</string> </value>
</item> </item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
......
811 812
\ No newline at end of file \ No newline at end of file
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