From 0280676dac59dde5bfab9a325ceb8dd84c822038 Mon Sep 17 00:00:00 2001
From: Yoshinori Okuji <yo@nexedi.com>
Date: Wed, 8 Sep 2004 12:52:26 +0000
Subject: [PATCH] Renamed from base_view_dialog.py to
 Base_callViewDialogMethod.py.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1534 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 ...dialog.py => Base_callViewDialogMethod.py} | 21 ++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)
 rename product/ERP5/skins/erp5_core/{base_view_dialog.py => Base_callViewDialogMethod.py} (88%)

diff --git a/product/ERP5/skins/erp5_core/base_view_dialog.py b/product/ERP5/skins/erp5_core/Base_callViewDialogMethod.py
similarity index 88%
rename from product/ERP5/skins/erp5_core/base_view_dialog.py
rename to product/ERP5/skins/erp5_core/Base_callViewDialogMethod.py
index 257e482137..a6b784b409 100755
--- a/product/ERP5/skins/erp5_core/base_view_dialog.py
+++ b/product/ERP5/skins/erp5_core/Base_callViewDialogMethod.py
@@ -1,5 +1,12 @@
+## Script (Python) "Base_callViewDialogMethod"
+##bind container=container
+##bind context=context
+##bind namespace=
+##bind script=script
+##bind subpath=traverse_subpath
 ##parameters=form_id,cancel_url,dialog_method,selection_name,dialog_id,previous_md5_object_uid_list=None
-
+##title=
+##
 # Updates attributes of an Zope document
 # which is in a class inheriting from ERP5 Base
 
@@ -11,18 +18,18 @@ from ZTUtils import make_query
 request=context.REQUEST
 
 #Exceptions for Workflow
-if dialog_method == 'workflow_status_modify':
-  return context.workflow_status_modify( form_id=form_id
+if dialog_method == 'Workflow_statusModify':
+  return context.Workflow_statusModify( form_id=form_id
                                        , dialog_id=dialog_id
                                        )
-if dialog_method == 'base_list_ui':
-  return context.base_list_ui( form_id=form_id
+if dialog_method == 'Base_configureUI':
+  return context.Base_configureUI( form_id=form_id
                              , selection_name=selection_name
                              , field_columns=getattr(request,'field_columns')
                              , stat_columns=getattr(request,'stat_columns')
                              )
-if dialog_method == 'base_sort_on':
-  return context.base_sort_on( form_id=form_id
+if dialog_method == 'Base_configureSortOn':
+  return context.Base_configureSortOn( form_id=form_id
                              , selection_name=selection_name
                              , field_sort_on=getattr(request,'field_sort_on')
                              , field_sort_order=getattr(request,'field_sort_order')
-- 
2.30.9