[Erp5-report] r43529 ivan - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateI...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Feb 21 16:00:12 CET 2011
Author: ivan
Date: Mon Feb 21 16:00:12 2011
New Revision: 43529
URL: http://svn.erp5.org?rev=43529&view=rev
Log:
Folder_viewContentList is a generic "View" for modules (i.e. Folder contents), when generating its selection_name make sure it's unique for every module otherwise we end up using one selection amongst all modules which can have unexpected results.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_viewContentList/listbox.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_viewContentList/listbox.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_viewContentList/listbox.xml?rev=43529&r1=43528&r2=43529&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_viewContentList/listbox.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_viewContentList/listbox.xml [utf8] Mon Feb 21 16:00:12 2011
@@ -11,6 +11,7 @@
<value>
<list>
<string>columns</string>
+ <string>selection_name</string>
<string>title</string>
</list>
</value>
@@ -54,6 +55,10 @@
<value>
<dictionary>
<item>
+ <key> <string>columns</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
@@ -62,9 +67,19 @@
<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>
</item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string></string> </value>
+ </item>
</dictionary>
</value>
</item>
@@ -104,6 +119,10 @@
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
+ <key> <string>selection_name</string> </key>
+ <value> <string>search_selection</string> </value>
+ </item>
+ <item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
@@ -117,4 +136,17 @@
</dictionary>
</pickle>
</record>
+ <record id="2" aka="AAAAAAAAAAI=">
+ <pickle>
+ <global name="TALESMethod" module="Products.Formulator.TALESField"/>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_text</string> </key>
+ <value> <string>python: \'%s_%s_%s_selection\' % (here.getRelativeUrl().replace(\'/\', \'_\'), form.getId(), field.getId())</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
</ZopeData>
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=43529&r1=43528&r2=43529&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Mon Feb 21 16:00:12 2011
@@ -1 +1 @@
-40896
\ No newline at end of file
+40897
\ No newline at end of file
More information about the Erp5-report
mailing list