示例#1
0
 def manage_exportImport(self, updated_xml, should_purge, RESPONSE):
     """ Parse XML and update the registry.
     """
     #XXX encoding?
     _updatePluginRegistry(self, updated_xml, should_purge)
     RESPONSE.redirect('%s/manage_exportImportForm'
                       '?manage_tabs_message=Registry+updated.' %
                       self.absolute_url())
示例#2
0
 def manage_exportImport(self, updated_xml, should_purge, RESPONSE):
     """ Parse XML and update the registry.
     """
     #XXX encoding?
     _updatePluginRegistry(self, updated_xml, should_purge)
     RESPONSE.redirect('%s/manage_exportImportForm'
                       '?manage_tabs_message=Registry+updated.'
                         % self.absolute_url())
示例#3
0
 def PUT(self, REQUEST, RESPONSE):
     """
     """
     xml = REQUEST['BODYFILE'].read()
     _updatePluginRegistry(self, xml, True)
示例#4
0
 def PUT(self, REQUEST, RESPONSE):
     """
     """
     xml = REQUEST['BODYFILE'].read()
     _updatePluginRegistry(self, xml, True)