本文整理汇总了Python中Products.CMFCore.FSObject.FSObject.manage_doCustomize方法的典型用法代码示例。如果您正苦于以下问题:Python FSObject.manage_doCustomize方法的具体用法?Python FSObject.manage_doCustomize怎么用?Python FSObject.manage_doCustomize使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Products.CMFCore.FSObject.FSObject
的用法示例。
在下文中一共展示了FSObject.manage_doCustomize方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: manage_doCustomize
# 需要导入模块: from Products.CMFCore.FSObject import FSObject [as 别名]
# 或者: from Products.CMFCore.FSObject.FSObject import manage_doCustomize [as 别名]
def manage_doCustomize(self, folder_path, RESPONSE=None, \
root=None, obj=None):
"""Makes a ZODB Based clone with the same data.
Calls _createZODBClone for the actual work.
"""
# Overridden here to provide a different redirect target.
FSObject.manage_doCustomize(self, folder_path, RESPONSE, \
root=root, obj=obj)
if RESPONSE is not None:
if folder_path == '.':
fpath = ()
else:
fpath = tuple(folder_path.split('/'))
folder = self.restrictedTraverse(fpath)
RESPONSE.redirect('%s/%s/manage_propertiesForm' % (
folder.absolute_url(), self.getId()))