Hi,
First, it is probable that I am facing this problem wrongly. My use case
is to load some zcml files depending on the gs profile that has been
imported in a site: my product has 2 profiles, and depending on which
one has been imported, I want to load a different set of directives.
I am trying to do so through a zcml:condition="have featurex", so in my
GS import step I want to provide a <meta:provides feature="featurex"/>.
And I obviously want it to be persistent. I guess I have to use the
string function from zope.configuration.xmlconfig, that has a signature:
def string(s, context=None, name="<string>", execute=True):
"""Execute a zcml string
"""
My problem is, where do I find such a context? It seems to be a
zope.configuration.config.ConfigurationMachine, but I don't see any such
thing around...
Best regards,
--
Enrique Pérez Arnaud <[email protected]>
Yaco Sistemas SL| http://www.yaco.es
C/ Rioja 5, 41001 Sevilla (España)
Tel: (+34) 954 50 00 57
Fax 954 50 09 29
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers