Commit 0d435fef authored by Fabien Morin's avatar Fabien Morin

use some more complex selection_name :

Category_view is used to display Category in all depth level, and the selection_name should be different on each level. So now it's generated using the relative_url of the current object

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36443 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0ef64719
......@@ -13,9 +13,10 @@
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>columns</string>
<string>all_columns</string>
<string>columns</string>
<string>editable_columns</string>
<string>selection_name</string>
</list>
</value>
</item>
......@@ -57,6 +58,18 @@
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>all_columns</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>columns</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable_columns</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......@@ -65,6 +78,12 @@
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>selection_name</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
......@@ -148,6 +167,10 @@
<key> <string>form_id</string> </key>
<value> <string>Category_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>selection_name</string> </key>
<value> <string>category_view_selection</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
......@@ -158,4 +181,20 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: \'%s_selection\' % (here.getRelativeUrl())</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
1616
\ No newline at end of file
1617
\ 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