Commit f917c249 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Renamed from base_list_ui.py to Base_configureUI.py.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1530 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9f1fa5f5
## Script (Python) "Base_configureUI"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=form_id,selection_name,field_columns,stat_columns ##parameters=form_id,selection_name,field_columns,stat_columns
##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
...@@ -52,7 +59,7 @@ for x in range(len(field_columns)): ...@@ -52,7 +59,7 @@ for x in range(len(field_columns)):
try: try:
context.portal_selections.setSelectionStats(selection_name, stat_columns, REQUEST=request) context.portal_selections.setSelectionStats(selection_name, stat_columns, REQUEST=request)
except: except:
return('L\'enregistrement des éléments statistiques n\'a pas fonctionné') return('L\'enregistrement des éléments statistiques n\'a pas fonctionné')
try: try:
# No validation for now # No validation for now
......
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