[Zope3-Users] question about a constraint conflict
ccomb at free.fr
Fri Jan 5 19:35:35 EST 2007
I define the following interfaces:
Then I would like to configure a class Test to to be both a FooContainer and a
<implements interface=".interfaces.IFooContainer" />
<implements interface=".interfaces.IBarContainer" />
Then I define AddMenuEntries for Foo and Bar implementations.
This does not work and as a result I only get Foo in the Add Menu. If I switch
the two implements zcml directives, I obviously get only Bar.
Is there a solution to configure a class to be both a FooContainer and a
BarContainer with constraintment ? (I would like to avoid dependencies between
Foo, Bar and Test.)
thanks in advance,
More information about the Zope3-users