Exemplo n.º 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())
Exemplo n.º 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())
Exemplo n.º 3
0
 def PUT(self, REQUEST, RESPONSE):
     """
     """
     xml = REQUEST['BODYFILE'].read()
     _updatePluginRegistry(self, xml, True)
Exemplo n.º 4
0
 def PUT(self, REQUEST, RESPONSE):
     """
     """
     xml = REQUEST['BODYFILE'].read()
     _updatePluginRegistry(self, xml, True)