[Zope-CMF] using GenericSetup to add non-content objects

Rob Miller ra at burningman.com
Wed Feb 22 15:01:27 EST 2006


i'm trying to use GenericSetup to add tool-like objects to my site at
creation time.  i say "tool-like" because the objects in question (RAM and
HTTP cache managers) act as tools, but they have constructors that require
additional arguments... the current tool.py importer assumes that the
constructor for a tool doesn't take any arguments.

neither is the content importer appropriate, since these aren't content
objects.  is there some straightforward way to add arbitrary objects to
the root of the site that i'm missing?  if not, how would folks feel about
some slight changes to the tool.py to allow for additional constructor
arguments to be specified?

on a related note, i'd also like to allow tool titles to be specified in
toolset.xml.  anyone have a problem w/ this being added to tool.py?


More information about the Zope-CMF mailing list