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 @@
is_dialog_mode request/dialog_mode | nothing;\n
display_style_list here/getDisplayStyleList;\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_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
......
......@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ERP5Form" module="Products.ERP5Form.Form"/>
<tuple/>
</tuple>
<global name="ERP5Form" module="Products.ERP5Form.Form"/>
</pickle>
<pickle>
<dictionary>
......
......@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ListBox" module="Products.ERP5Form.ListBox"/>
<tuple/>
</tuple>
<global name="ListBox" module="Products.ERP5Form.ListBox"/>
</pickle>
<pickle>
<dictionary>
......@@ -310,13 +307,21 @@
<key> <string>all_columns</string> </key>
<value>
<list>
<tuple>
<string>title</string>
<string>thumbnail_Title</string>
</tuple>
<tuple>
<string>thumbnail</string>
<string>thumbnail_Thumbnail</string>
</tuple>
<tuple>
<string>getIconAsHTML</string>
<string>Icon</string>
<string>search_Icon</string>
</tuple>
<tuple>
<string>getSummaryAsHTML</string>
<string>Summary</string>
<string>search_Summary</string>
</tuple>
</list>
</value>
......@@ -386,7 +391,7 @@
</item>
<item>
<key> <string>default_display_style</string> </key>
<value> <string>search</string> </value>
<value> <string>table</string> </value>
</item>
<item>
<key> <string>default_params</string> </key>
......@@ -504,6 +509,10 @@
<list/>
</value>
</item>
<item>
<key> <string>page_navigation_mode</string> </key>
<value> <string>slider</string> </value>
</item>
<item>
<key> <string>page_template</string> </key>
<value> <string></string> </value>
......@@ -517,12 +526,21 @@
<item>
<key> <string>report_root_list</string> </key>
<value>
<list/>
<list>
<tuple>
<string>group</string>
<string>group</string>
</tuple>
<tuple>
<string>region</string>
<string>region</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>report_tree</string> </key>
<value> <int>0</int> </value>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>row_css_method</string> </key>
......@@ -592,10 +610,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
<global name="Method" module="Products.Formulator.MethodField"/>
</pickle>
<pickle>
<dictionary>
......@@ -608,10 +623,7 @@
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
<global name="Method" module="Products.Formulator.MethodField"/>
</pickle>
<pickle>
<dictionary>
......
......@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="EditorField" module="Products.ERP5Form.EditorField"/>
<tuple/>
</tuple>
<global name="EditorField" module="Products.ERP5Form.EditorField"/>
</pickle>
<pickle>
<dictionary>
......@@ -296,10 +293,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
......
......@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="EditorField" module="Products.ERP5Form.EditorField"/>
<tuple/>
</tuple>
<global name="EditorField" module="Products.ERP5Form.EditorField"/>
</pickle>
<pickle>
<dictionary>
......@@ -296,10 +293,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
......
......@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
</pickle>
<pickle>
<dictionary>
......
1519
\ No newline at end of file
1520
\ 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