Logo Search packages:      
Sourcecode: zope-photo version File versions  Download package

def zope-photo-1.2.4::PhotoFolder::PhotoFolder::manage_editPhotoSettings (   self,
  REQUEST = None 
)

Edit photo settings.

Definition at line 179 of file PhotoFolder.py.

00179                                                     :
        """Edit photo settings."""
        photoconf = self.propertysheets.get('photoconf')
        photoconf.manage_editProperties(REQUEST)
        # Update contained Photo objects if requested
        if REQUEST.form.get('changeall', None):
            for photo in self.objectValues(['Photo']):
                REQUEST.set('store', photo.propertysheets.get('photoconf').getProperty('store'))
                photo.propertysheets.get('photoconf').manage_editProperties(REQUEST)
        if REQUEST is not None:
            return self.manage_editPhotoPropertiesForm(REQUEST,
                        manage_tabs_message='Default photo settings updated.')

    security.declareProtected('Manage properties', 'manage_editPhotoProperties')
    def manage_editPhotoProperties(self, REQUEST=None):


Generated by  Doxygen 1.6.0   Back to index