Commit 46351069 authored by Ivan Tyagov's avatar Ivan Tyagov

there's no need any more to explicitly set dynamically different columns for...

there's no need any more to explicitly set dynamically different columns for listbox styles as this job can be done at listbox definition (and auto set by listbox code based on currrent listbox style).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37998 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b419751c
...@@ -61,8 +61,6 @@ ...@@ -61,8 +61,6 @@
is_dialog_mode request/dialog_mode | nothing;\n is_dialog_mode request/dialog_mode | nothing;\n
display_style_list here/getDisplayStyleList;\n display_style_list here/getDisplayStyleList;\n
list_style here/getListboxDisplayStyle;\n list_style here/getListboxDisplayStyle;\n
dummy python: list_style == \'search\' and here.setDisplayedColumnIdList((\'getIconAsHTML\', \'getSummaryAsHTML\'))\n
or list_style == \'thumbnail\' and here.setDisplayedColumnIdList((\'title\', \'thumbnail\'));\n
full_text_search_key here/getFullTextSearchKey;\n full_text_search_key here/getFullTextSearchKey;\n
full_text_search_key_script here/getFullTextSearchKeyScript;\n full_text_search_key_script here/getFullTextSearchKeyScript;\n
show_full_text python: full_text_search_key not in (\'\', None) and full_text_search_key_script not in (\'\', None);\n show_full_text python: full_text_search_key not in (\'\', None) and full_text_search_key_script not in (\'\', None);\n
......
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple>
<global name="ERP5Form" module="Products.ERP5Form.Form"/> <global name="ERP5Form" module="Products.ERP5Form.Form"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
......
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple>
<global name="ListBox" module="Products.ERP5Form.ListBox"/> <global name="ListBox" module="Products.ERP5Form.ListBox"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -310,13 +307,21 @@ ...@@ -310,13 +307,21 @@
<key> <string>all_columns</string> </key> <key> <string>all_columns</string> </key>
<value> <value>
<list> <list>
<tuple>
<string>title</string>
<string>thumbnail_Title</string>
</tuple>
<tuple>
<string>thumbnail</string>
<string>thumbnail_Thumbnail</string>
</tuple>
<tuple> <tuple>
<string>getIconAsHTML</string> <string>getIconAsHTML</string>
<string>Icon</string> <string>search_Icon</string>
</tuple> </tuple>
<tuple> <tuple>
<string>getSummaryAsHTML</string> <string>getSummaryAsHTML</string>
<string>Summary</string> <string>search_Summary</string>
</tuple> </tuple>
</list> </list>
</value> </value>
...@@ -386,7 +391,7 @@ ...@@ -386,7 +391,7 @@
</item> </item>
<item> <item>
<key> <string>default_display_style</string> </key> <key> <string>default_display_style</string> </key>
<value> <string>search</string> </value> <value> <string>table</string> </value>
</item> </item>
<item> <item>
<key> <string>default_params</string> </key> <key> <string>default_params</string> </key>
...@@ -504,6 +509,10 @@ ...@@ -504,6 +509,10 @@
<list/> <list/>
</value> </value>
</item> </item>
<item>
<key> <string>page_navigation_mode</string> </key>
<value> <string>slider</string> </value>
</item>
<item> <item>
<key> <string>page_template</string> </key> <key> <string>page_template</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -517,12 +526,21 @@ ...@@ -517,12 +526,21 @@
<item> <item>
<key> <string>report_root_list</string> </key> <key> <string>report_root_list</string> </key>
<value> <value>
<list/> <list>
<tuple>
<string>group</string>
<string>group</string>
</tuple>
<tuple>
<string>region</string>
<string>region</string>
</tuple>
</list>
</value> </value>
</item> </item>
<item> <item>
<key> <string>report_tree</string> </key> <key> <string>report_tree</string> </key>
<value> <int>0</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>row_css_method</string> </key> <key> <string>row_css_method</string> </key>
...@@ -592,10 +610,7 @@ ...@@ -592,10 +610,7 @@
</record> </record>
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple>
<global name="Method" module="Products.Formulator.MethodField"/> <global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -608,10 +623,7 @@ ...@@ -608,10 +623,7 @@
</record> </record>
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple>
<global name="Method" module="Products.Formulator.MethodField"/> <global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
......
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple>
<global name="EditorField" module="Products.ERP5Form.EditorField"/> <global name="EditorField" module="Products.ERP5Form.EditorField"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -296,10 +293,7 @@ ...@@ -296,10 +293,7 @@
</record> </record>
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
......
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple>
<global name="EditorField" module="Products.ERP5Form.EditorField"/> <global name="EditorField" module="Products.ERP5Form.EditorField"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -296,10 +293,7 @@ ...@@ -296,10 +293,7 @@
</record> </record>
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
......
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/> <global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
......
1519 1520
\ 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