Commit a5538f97 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Update the skin names.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1737 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9922e668
...@@ -1091,7 +1091,7 @@ class CategoryTool( UniqueObject, Folder, Base ): ...@@ -1091,7 +1091,7 @@ class CategoryTool( UniqueObject, Folder, Base ):
""" """
TODO: make this method resist to very large updates (ie. long transaction) TODO: make this method resist to very large updates (ie. long transaction)
""" """
for brain in self.search_related(category_uid = context.getUid()): for brain in self.Base_zSearchRelatedObjectsByCategory(category_uid = context.getUid()):
o = brain.getObject() o = brain.getObject()
if o is not None: if o is not None:
category_list = [] category_list = []
...@@ -1138,7 +1138,7 @@ class CategoryTool( UniqueObject, Folder, Base ): ...@@ -1138,7 +1138,7 @@ class CategoryTool( UniqueObject, Folder, Base ):
for base_category in base_category_list: for base_category in base_category_list:
category_list += ["%s/%s" % (base_category, context.getRelativeUrl())] category_list += ["%s/%s" % (base_category, context.getRelativeUrl())]
brain_result = self.search_category(category_list = category_list, brain_result = self.Base_zSearchRelatedObjectsByCategoryList(category_list = category_list,
portal_type = portal_type ) portal_type = portal_type )
result = [] result = []
......
...@@ -51,14 +51,14 @@ class MultiRelationStringFieldWidget(Widget.LinesTextAreaWidget): ...@@ -51,14 +51,14 @@ class MultiRelationStringFieldWidget(Widget.LinesTextAreaWidget):
title='Update Method', title='Update Method',
description=( description=(
"The method to call to set the relation. Required."), "The method to call to set the relation. Required."),
default="base_update_relation", default="Base_updateRelation",
required=1) required=1)
jump_method = fields.StringField('jump_method', jump_method = fields.StringField('jump_method',
title='Jump Method', title='Jump Method',
description=( description=(
"The method to call to jump to the relation. Required."), "The method to call to jump to the relation. Required."),
default="base_jump_relation", default="Base_jumpToRelatedDocument",
required=1) required=1)
base_category = fields.StringField('base_category', base_category = fields.StringField('base_category',
......
...@@ -53,14 +53,14 @@ class RelationStringFieldWidget(Widget.TextWidget): ...@@ -53,14 +53,14 @@ class RelationStringFieldWidget(Widget.TextWidget):
title='Update Method', title='Update Method',
description=( description=(
"The method to call to set the relation. Required."), "The method to call to set the relation. Required."),
default="base_update_relation", default="Base_updateRelation",
required=1) required=1)
jump_method = fields.StringField('jump_method', jump_method = fields.StringField('jump_method',
title='Jump Method', title='Jump Method',
description=( description=(
"The method to call to jump to the relation. Required."), "The method to call to jump to the relation. Required."),
default="base_jump_relation", default="Base_jumpToRelatedDocument",
required=1) required=1)
base_category = fields.StringField('base_category', base_category = fields.StringField('base_category',
......
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