Commit 0280676d authored by Yoshinori Okuji's avatar Yoshinori Okuji

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
parent 8c1a593b
## 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 ##parameters=form_id,cancel_url,dialog_method,selection_name,dialog_id,previous_md5_object_uid_list=None
##title=
##
# Updates attributes of an Zope document # Updates attributes of an Zope document
# which is in a class inheriting from ERP5 Base # which is in a class inheriting from ERP5 Base
...@@ -11,18 +18,18 @@ from ZTUtils import make_query ...@@ -11,18 +18,18 @@ from ZTUtils import make_query
request=context.REQUEST request=context.REQUEST
#Exceptions for Workflow #Exceptions for Workflow
if dialog_method == 'workflow_status_modify': if dialog_method == 'Workflow_statusModify':
return context.workflow_status_modify( form_id=form_id return context.Workflow_statusModify( form_id=form_id
, dialog_id=dialog_id , dialog_id=dialog_id
) )
if dialog_method == 'base_list_ui': if dialog_method == 'Base_configureUI':
return context.base_list_ui( form_id=form_id return context.Base_configureUI( form_id=form_id
, selection_name=selection_name , selection_name=selection_name
, field_columns=getattr(request,'field_columns') , field_columns=getattr(request,'field_columns')
, stat_columns=getattr(request,'stat_columns') , stat_columns=getattr(request,'stat_columns')
) )
if dialog_method == 'base_sort_on': if dialog_method == 'Base_configureSortOn':
return context.base_sort_on( form_id=form_id return context.Base_configureSortOn( form_id=form_id
, selection_name=selection_name , selection_name=selection_name
, field_sort_on=getattr(request,'field_sort_on') , field_sort_on=getattr(request,'field_sort_on')
, field_sort_order=getattr(request,'field_sort_order') , field_sort_order=getattr(request,'field_sort_order')
......
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