[Erp5-report] r12011 - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateItem/p...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jan 11 12:55:45 CET 2007
Author: aurel
Date: Thu Jan 11 12:55:43 2007
New Revision: 12011
URL: http://svn.erp5.org?rev=12011&view=rev
Log:
selection name in Base_callDialogMethod is list_selection_name and not selection_name
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml?rev=12011&r1=12010&r2=12011&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml Thu Jan 11 12:55:43 2007
@@ -87,13 +87,13 @@
# Exceptions for UI\n
if dialog_method == \'Base_configureUI\':\n
return context.Base_configureUI(form_id=kw[\'form_id\'],\n
- selection_name=kw[\'selection_name\'],\n
+ selection_name=kw[\'list_selection_name\'],\n
field_columns=kw[\'field_columns\'],\n
stat_columns=kw[\'stat_columns\'])\n
# Exceptions for Sort\n
if dialog_method == \'Base_configureSortOn\':\n
return context.Base_configureSortOn(form_id=kw[\'form_id\'],\n
- selection_name=kw[\'selection_name\'],\n
+ selection_name=kw[\'list_selection_name\'],\n
field_sort_on=kw[\'field_sort_on\'],\n
field_sort_order=kw[\'field_sort_order\'])\n
# Exceptions for Base_edit\n
@@ -113,7 +113,7 @@
if dialog_method == \'Base_editRelation\':\n
return context.Base_editRelation(form_id=kw[\'form_id\'],\n
field_id=kw[\'field_id\'],\n
- selection_name=kw[\'selection_name\'],\n
+ selection_name=kw[\'list_selection_name\'],\n
selection_index=kw[\'selection_index\'],\n
uids=kw.get(\'uids\', ()),\n
listbox_uid=kw.get(\'listbox_uid\', None),\n
@@ -122,7 +122,7 @@
# Exception for create relation\n
if dialog_method == \'Base_createRelation\':\n
return context.Base_createRelation(form_id=kw[\'form_id\'],\n
- selection_name=kw[\'selection_name\'],\n
+ selection_name=kw[\'list_selection_name\'],\n
selection_index=kw[\'selection_index\'],\n
base_category=kw[\'base_category\'],\n
object_uid=kw[\'object_uid\'],\n
@@ -134,7 +134,7 @@
# Exception for folder delete\n
if dialog_method == \'Folder_delete\':\n
return context.Folder_delete(form_id=kw[\'form_id\'],\n
- selection_name=kw[\'selection_name\'],\n
+ selection_name=kw[\'list_selection_name\'],\n
uids=kw[\'listbox_uid\'],\n
md5_object_uid_list=kw[\'md5_object_uid_list\'])\n
\n
@@ -209,7 +209,7 @@
\n
# Check if the selection changed\n
if hasattr(kw, \'previous_md5_object_uid_list\'):\n
- selection_list = context.portal_selections.callSelectionFor(kw[\'selection_name\'], context=context)\n
+ selection_list = context.portal_selections.callSelectionFor(kw[\'list_selection_name\'], context=context)\n
if selection_list is not None:\n
object_uid_list = map(lambda x:x.getObject().getUid(), selection_list)\n
error = context.portal_selections.selectionHasChanged(kw[\'previous_md5_object_uid_list\'], object_uid_list)\n
@@ -218,19 +218,18 @@
\n
# if dialog_category is object_search, then edit the selection\n
if dialog_category == "object_search" :\n
- context.portal_selections.setSelectionParamsFor(kw[\'selection_name\'], kw)\n
+ context.portal_selections.setSelectionParamsFor(kw[\'list_selection_name\'], kw)\n
\n
# if we have checked line in listbox, modify the selection\n
listbox_uid = kw.get(\'listbox_uid\', None)\n
# In some cases, the listbox exists, is editable, but the selection name\n
# has no meaning, for example fast input dialogs.\n
# In such cases, we must not try to update a non-existing selection.\n
-if listbox_uid is not None and kw.has_key(\'selection_name\'):\n
+if listbox_uid is not None and kw.has_key(\'list_selection_name\'):\n
uids = kw.get(\'uids\')\n
selected_uids = context.portal_selections.updateSelectionCheckedUidList(\n
- kw[\'selection_name\'],\n
+ kw[\'list_selection_name\'],\n
listbox_uid, uids)\n
-\n
# Remove values which doesn\'t work with make_query.\n
clean_kw = {}\n
for k, v in kw.items() :\n
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=12011&r1=12010&r2=12011&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision Thu Jan 11 12:55:43 2007
@@ -1,1 +1,1 @@
-230
+235
More information about the Erp5-report
mailing list