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 @@ ...@@ -13,9 +13,10 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>columns</string>
<string>all_columns</string> <string>all_columns</string>
<string>columns</string>
<string>editable_columns</string> <string>editable_columns</string>
<string>selection_name</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -57,6 +58,18 @@ ...@@ -57,6 +58,18 @@
<key> <string>tales</string> </key> <key> <string>tales</string> </key>
<value> <value>
<dictionary> <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> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -65,6 +78,12 @@ ...@@ -65,6 +78,12 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>selection_name</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -148,6 +167,10 @@ ...@@ -148,6 +167,10 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Category_viewFieldLibrary</string> </value> <value> <string>Category_viewFieldLibrary</string> </value>
</item> </item>
<item>
<key> <string>selection_name</string> </key>
<value> <string>category_view_selection</string> </value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
...@@ -158,4 +181,20 @@ ...@@ -158,4 +181,20 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </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> </ZopeData>
1616 1617
\ 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