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

def Localizer::LocalPropertyManager::LocalPropertyManager::manage_editLocalProperty (   self,
  RESPONSE = None 

Edit a property

Definition at line 215 of file LocalPropertyManager.py.

00215                                                                   :
        """Edit a property"""
        for lang in self.get_languages():
            if REQUEST.has_key(lang):
                self._setLocalPropValue(id, lang, REQUEST[lang].strip())

        if RESPONSE is not None:
            url = "%s/manage_localPropertiesForm" % REQUEST['URL1']
            url = self.get_url(url,
                               REQUEST['batch_start'], REQUEST['batch_index'],
                               REQUEST.get('lang_hide', ()),
                               manage_tabs_message=_('Saved changes.'))

    security.declareProtected('Manage properties', 'manage_delLocalProperty')
    def manage_delLocalProperty(self, id, REQUEST=None, RESPONSE=None):

Generated by  Doxygen 1.6.0   Back to index