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 ):
"""
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()
if o is not None:
category_list = []
......@@ -1138,8 +1138,8 @@ class CategoryTool( UniqueObject, Folder, Base ):
for base_category in base_category_list:
category_list += ["%s/%s" % (base_category, context.getRelativeUrl())]
brain_result = self.search_category(category_list = category_list,
portal_type = portal_type )
brain_result = self.Base_zSearchRelatedObjectsByCategoryList(category_list = category_list,
portal_type = portal_type )
result = []
for b in brain_result:
......
......@@ -51,14 +51,14 @@ class MultiRelationStringFieldWidget(Widget.LinesTextAreaWidget):
title='Update Method',
description=(
"The method to call to set the relation. Required."),
default="base_update_relation",
default="Base_updateRelation",
required=1)
jump_method = fields.StringField('jump_method',
title='Jump Method',
description=(
"The method to call to jump to the relation. Required."),
default="base_jump_relation",
default="Base_jumpToRelatedDocument",
required=1)
base_category = fields.StringField('base_category',
......@@ -95,7 +95,7 @@ class MultiRelationStringFieldWidget(Widget.LinesTextAreaWidget):
"The method to invoke in order to update the relation"),
default="",
required=0)
def render(self, field, key, value, REQUEST):
"""Render text input field.
"""
......
......@@ -53,14 +53,14 @@ class RelationStringFieldWidget(Widget.TextWidget):
title='Update Method',
description=(
"The method to call to set the relation. Required."),
default="base_update_relation",
default="Base_updateRelation",
required=1)
jump_method = fields.StringField('jump_method',
title='Jump Method',
description=(
"The method to call to jump to the relation. Required."),
default="base_jump_relation",
default="Base_jumpToRelatedDocument",
required=1)
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