Beispiel #1
0
    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()))
Beispiel #2
0
 def __init__(self, id, filepath, fullname=None, properties=None):
     id = fullname or id # Use the whole filename.
     FSObject.__init__(self, id, filepath, fullname, properties)
Beispiel #3
0
 def __init__(self, id, filepath, fullname=None, properties=None):
     FSObject.__init__(self, id, filepath, fullname, properties)
Beispiel #4
0
 def __init__(self, id, filepath, fullname=None, properties=None):
     FSObject.__init__(self, id, filepath, fullname, properties)
     self.ZBindings_edit(self._default_bindings)
Beispiel #5
0
 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, {})
Beispiel #6
0
 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, {})
Beispiel #7
0
 def __init__(self, id, filepath, fullname=None, properties=None):
     FSObject.__init__(self, id, filepath, fullname, properties)
     self.ZBindings_edit(self._default_bindings)
Beispiel #8
0
 def __init__(self, id, filepath, fullname=None, properties=None):
     id = fullname or id  # Use the whole filename.
     FSObject.__init__(self, id, filepath, fullname, properties)
Beispiel #9
0
 def __init__(self, id, filepath, fullname=None, properties=None):
     FSObject.__init__(self, id, filepath, fullname, properties)
Beispiel #10
0
 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)
Beispiel #11
0
 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)