Exemplo n.º 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
     )
Exemplo n.º 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)
Exemplo n.º 4
0
 def export(self, export_context, subdir, root=False):
     """ See IFilesystemExporter.
     """
     FolderishExporterImporter.export(self, export_context, subdir, root)