Пример #1
0
 def export(self, export_context, subdir, root=False):
     """ See IFilesystemExporter.
     """
     FolderishExporterImporter.export(self, export_context, subdir, root)
     template = PageTemplateResource("xml/%s" % self._FILENAME, globals()).__of__(self.context)
     export_context.writeDataFile(
         "%s/criteria.xml" % self.context.getId(), template(info=self._getExportInfo()), "text/xml", subdir
     )
Пример #2
0
 def export(self, export_context, subdir, root=False):
     """ See IFilesystemExporter.
     """
     FolderishExporterImporter.export(self, export_context, subdir, root)
     template = PageTemplateResource('xml/%s' % self._FILENAME,
                                     globals()).__of__(self.context)
     export_context.writeDataFile('%s/criteria.xml' % self.context.getId(),
                                  template(info=self._getExportInfo()),
                                  'text/xml',
                                  subdir,
                                 )
 def export(self, export_context, subdir, root=False):
     """ See IFilesystemExporter.
     """
     FolderishExporterImporter.export(self, export_context, subdir, root)
Пример #4
0
 def export(self, export_context, subdir, root=False):
     """ See IFilesystemExporter.
     """
     FolderishExporterImporter.export(self, export_context, subdir, root)