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

def Localizer::LocalPropertyManager::LocalPropertyManager::manage_delLocalProperty (   self,
  id,
  REQUEST = None,
  RESPONSE = None 
)

Deletes a property

Definition at line 229 of file LocalPropertyManager.py.

00229                                                                       :
        """Deletes a property"""
        self._delLocalProperty(id)

        if RESPONSE is not None:
            url = "%s/manage_localPropertiesForm" % REQUEST['URL1']

            batch_start = REQUEST['batch_start']
            batch_index = REQUEST['batch_index']
            batch_index = min(batch_index,
                              len(self._local_properties_metadata) - 1)
            batch_start = self.get_batch_start(batch_start, batch_index)
            lang_hide = REQUEST.get('lang_hide', ())

            url = self.get_url(url, batch_start, batch_index, lang_hide,
                               manage_tabs_message=_('Saved changes.'))
            RESPONSE.redirect(url)



    security.declarePublic('getLocalProperties')
    def getLocalProperties(self):


Generated by  Doxygen 1.6.0   Back to index