Commit bd822a07 authored by Sebastien Robin's avatar Sebastien Robin

trade: for listbox related to container, use more generic listbox setup

* acquire objectValues list method instead of using searchFolder
* acquire tales expression for selection name
parent 3a2c0782
...@@ -10,13 +10,11 @@ ...@@ -10,13 +10,11 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>sort</string> <string>columns</string>
<string>title</string>
<string>lines</string> <string>lines</string>
<string>selection_name</string>
<string>list_method</string>
<string>portal_types</string> <string>portal_types</string>
<string>columns</string> <string>sort</string>
<string>title</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -116,12 +114,6 @@ ...@@ -116,12 +114,6 @@
<key> <string>lines</string> </key> <key> <string>lines</string> </key>
<value> <int>100</int> </value> <value> <int>100</int> </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>
...@@ -133,10 +125,6 @@ ...@@ -133,10 +125,6 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>selection_name</string> </key>
<value> <string>container_line_selection</string> </value>
</item>
<item> <item>
<key> <string>sort</string> </key> <key> <string>sort</string> </key>
<value> <value>
...@@ -162,17 +150,4 @@ ...@@ -162,17 +150,4 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Method" module="Products.Formulator.MethodField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>searchFolder</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -10,13 +10,10 @@ ...@@ -10,13 +10,10 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>columns</string>
<string>portal_types</string>
<string>sort</string> <string>sort</string>
<string>title</string> <string>title</string>
<string>lines</string>
<string>selection_name</string>
<string>list_method</string>
<string>portal_types</string>
<string>columns</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -120,16 +117,6 @@ ...@@ -120,16 +117,6 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value> <value> <string>Base_viewTradeFieldLibrary</string> </value>
</item> </item>
<item>
<key> <string>lines</string> </key>
<value> <int>15</int> </value>
</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>
...@@ -141,10 +128,6 @@ ...@@ -141,10 +128,6 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>selection_name</string> </key>
<value> <string>container_selection</string> </value>
</item>
<item> <item>
<key> <string>sort</string> </key> <key> <string>sort</string> </key>
<value> <value>
...@@ -170,17 +153,4 @@ ...@@ -170,17 +153,4 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Method" module="Products.Formulator.MethodField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>searchFolder</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
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