-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Martin Aspeli wrote: > Hi, > > 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 > install. > > 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" folders: http://palladion.com/home/tseaver/software/CMFFolderExport 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. - -- =================================================================== Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEyhfD+gerLs4ltQ4RAnDlAJ4m/m001O9mRvI6UGMQGBZuCJ9QeACdFGKM DGwGcITqzNd4aCpwwh6hma0= =Xw9P -----END PGP SIGNATURE----- _______________________________________________ Zope-CMF maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
