-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Florent Guillaume wrote: > I'm wondering (I haven't looked at it yet) if I can do the following > with GenericSetup. > > I need to be able to export the same content object in different > "facets". For instance for a document I need to do a "content" export, > that will dump the standard data and metadata. Then I'll also want a > separate "workflow" export that dumps the workflow state and workflow > history. Etc. > > Is there any provision in GenericSetup to have multiple node exporters > for the same interface? Named adapters, or multiadapters on the export > context ?
At the moment, content export begins by finding an IFilesystemExporter adapter for the site; that adapter is then responsible for finding the exportable subitems, and adapting each one to IFilesystemExporter. The "stock" version (FolderishExportImport) does this in a naive way; it might be possible to have it use e.g. subscribers rather than "direct" adapter lookup for the subitems, which would be a way to achieve the kind of loose coupling you want; OTOH, that might require some ordering, which subscription adapters don't provide. Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDfJ0g+gerLs4ltQ4RAjEnAJ9jg6UO5qJQ7MVByMAS2V5MToR4ewCgzYLR QgW1Sjmzfhkc69otzjy4gKI= =TWii -----END PGP SIGNATURE----- _______________________________________________ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests