[Zope-CMF] Re: GenericSetup Toolset problem
jdoyon at NRCan.gc.ca
Wed Mar 28 08:43:59 EDT 2007
Yup, that's all done too.
I just realized I hadn't put in the entry in "import_steps.xml", but now
that that's done, doesn't seem to help either.
I think I ran into this before and just recreated the whole site ... But
now I'd much rather not have to do that ... And in the long run, I have
to find a way to add new components without recreating the whole thing!
- Import/export is done
- adapter is done
- toolset.xml is done
- import_steps.xml is done
I guess maybe I'll have to go in through zopectl debug or something like
that, see what's going on ...
From: zope-cmf-bounces at lists.zope.org
[mailto:zope-cmf-bounces at lists.zope.org] On Behalf Of Raphael Ritz
Sent: March 28, 2007 03:55
To: zope-cmf at zope.org
Subject: [Zope-CMF] Re: GenericSetup Toolset problem
Doyon, Jean-Francois schrieb:
> I've added a tool to my code base, and registered it in toolset.xml,
> gave it import/export logic, etc ...
Did you also register the adapter for the tool to the setup environment?
I have something like that in CMFBib's exportimport:
where in exportimport/bibliographytool I declare:
class BibliographyToolXMLAdapter(XMLAdapterBase, ObjectManagerHelpers,
"""XML im- and exporter for the BibliographyTool.
for the full example.
Zope-CMF maillist - Zope-CMF at lists.zope.org
See http://collector.zope.org/CMF for bug reports and feature requests
More information about the Zope-CMF