Say I have a process which needs some configuration but which is based on zope.
How do I add arbitary sections into zope.conf at the top level and then how do I get hold of the configuration?
What I'd like to do (and tried!) is to write a component.xml, put it in my package and then add a section to the top-level of my zope.conf something like:
%import mypackage <mypackage_config> somekey somevalue </mypackage_config>
...and then get hold of it with:
from App.config import getConfiguration config = getConfiguration().mypackage_config
...but this doesn't seem to work. Am I doing something wrong or do their need to be changes to zopeschema.xml to allow this?
-- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce