[Erp5-report] r34078 rafael - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplat...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Mar 24 20:52:37 CET 2010
Author: rafael
Date: Wed Mar 24 20:52:37 2010
New Revision: 34078
URL: http://svn.erp5.org?rev=34078&view=rev
Log:
If selection_name is not passed to this script, try to get it using "listbox_list_selection_name" at the request.
This is required to ListBoxes (showed from a website using erp5_web) use A..Z button for reset the selection, In this casethe selection_name does not come with the request when this button is clicked.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_show.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_show.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_show.xml?rev=34078&r1=34077&r2=34078&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_show.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_show.xml [utf8] Wed Mar 24 20:52:37 2010
@@ -55,6 +55,9 @@
<key> <string>_body</string> </key>
<value> <string>request = context.REQUEST\n
\n
+if selection_name is None:\n
+ selection_name = request.get(\'listbox_list_selection_name\')\n
+\n
ps = context.portal_selections\n
ps.setSelectionToAll(selection_name, REQUEST=request, reset_domain_tree=True, reset_report_tree=True)\n
url = ps.getSelectionListUrlFor(selection_name, REQUEST=request)\n
@@ -69,7 +72,7 @@
</item>
<item>
<key> <string>_params</string> </key>
- <value> <string>selection_name</string> </value>
+ <value> <string>selection_name=None</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
@@ -99,6 +102,7 @@
<string>_getattr_</string>
<string>context</string>
<string>request</string>
+ <string>None</string>
<string>ps</string>
<string>True</string>
<string>url</string>
@@ -113,7 +117,9 @@
<item>
<key> <string>func_defaults</string> </key>
<value>
- <none/>
+ <tuple>
+ <none/>
+ </tuple>
</value>
</item>
<item>
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=34078&r1=34077&r2=34078&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Wed Mar 24 20:52:37 2010
@@ -1,1 +1,1 @@
-1530
+1531
More information about the Erp5-report
mailing list