[z3-five] five:localsite zcml conflicts w/ Five 1.4
Rob Miller
ra at burningman.com
Tue Nov 28 06:35:48 CET 2006
hi there,
i'm using the Five 1.4 branch w/ Zope 2.9 branch, and am having problems b/c
multiple products want the same classes to be declared as possible local
sites. using the <five:localsite> tag in multiple places for the same class
will cause a ZCML conflict error. even using overrides.zcml just buys you one
more location you can declare it.
is there a safe way to do this with ZCML? the only way i can think of to work
around this for now is to put some code in my package initialization routine
that will inspect the classes and then call zcml.load_string with the
five:localsite tag if necessary. is there no better way?
-r
More information about the z3-five
mailing list