def manage_doCustomize(self, folder_path, RESPONSE=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) if RESPONSE is not None: fpath = tuple(split(folder_path, '/')) folder = self.restrictedTraverse(fpath) RESPONSE.redirect('%s/%s/manage_propertiesForm' % ( folder.absolute_url(), self.getId()))
def __init__(self, id, filepath, fullname=None, properties=None): id = fullname or id # Use the whole filename. FSObject.__init__(self, id, filepath, fullname, properties)
def __init__(self, id, filepath, fullname=None, properties=None): FSObject.__init__(self, id, filepath, fullname, properties)
def __init__(self, id, filepath, fullname=None, properties=None): FSObject.__init__(self, id, filepath, fullname, properties) self.ZBindings_edit(self._default_bindings)
def __init__(self, id, filepath, fullname=None, properties=None): FSObject.__init__(self, id, filepath, fullname, properties) # Normally called via HTML.__init__ but we don't need the rest that # happens there. self.initvars(None, {})
def __init__(self, id, package=None, entry_subpath=None, filepath=None, fullname=None, properties=None): id = fullname or id # Use the whole filename. FSObject.__init__(self, id, package, entry_subpath, filepath, fullname, properties)
def __init__(self, id, package=None, entry_subpath=None, filepath=None, fullname=None, properties=None): FSObject.__init__(self, id, package, entry_subpath, filepath, fullname, properties)