本文整理匯總了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()))