-----BEGIN PGP SIGNED MESSAGE-----
Martin Aspeli wrote:
> I realise this isn't entirely kosher (and that yuppie has much better
> long-term ideas), but I am wondering if it's possible to invoke some
> GenericSetup handler code during a more traditional Extensions/Install.py
> This is purely for convenience - but if I need a more traditional product
> install (with a UI for uninstall and so on), I can use CMFQuickInstaller or
> external methods. However, doing things like FTIs and workflow definitions
> with GS XML syntax is way more convenient and maintainable.
> Is there some way I could invoke a handler explicitly, e.g. say "run the
> workflow installation handler on this particular XML file from my product
> only"? Or do handlers have pre-requisites of context and/or side-effects
> that make them usable only within the context of a GS import run?
I would actually like to surface the functionality which makes "partial"
imports easy. My CMFFolderExport product demos this for "content space"
The product uses the registered GS handlers to drive views for exporting
/ importing a folder's contents as a tarball.
I think it would be possible to write new ZMI views for the tools which
have GS profile support to allow exporting / importing their
configurations as well. TypeInformation and DCWorkflow objects could
benefit from this as well.
Tres Seaver +1 202-558-7113 [EMAIL PROTECTED]
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v18.104.22.168 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Zope-CMF maillist - Zope-CMF@lists.zope.org
See http://collector.zope.org/CMF for bug reports and feature requests