[Zope3-dev] Re: zcml questions

Jim Fulton jim at zope.com
Tue Sep 26 07:39:54 EDT 2006


On Sep 26, 2006, at 5:54 AM, Chris Withers wrote:

> Jim Fulton wrote:
>
>> Not necessarily.  actions already have discriminators which are,  
>> essentially ids.
>
> How do they work?

They are used to determine if actions conflict.  They arethe basis of  
conflict detection and overriding.



> Where can I see examples?

In the zope configuration doc tests.


>> What's needed is a way of assigning ids to directives, mainly  
>> subscriber definitions, that don't have discriminators.
>
> Oh, so some directives have descriminators and others don't?

Yes.  Most do.  Soe don't because they don't create actions that  
conflict with anything else.

>
>> I also think it would be useful to be able to assign ids to groups  
>> of configuration to make it easier to disable a collection of  
>> things that go together.
>
> Yep. Would that cover the devmode use case and allow the  
> deprecation of the crazy "condition" stuff? ;-)

I doubt it.

Jim

--
Jim Fulton			mailto:jim at zope.com		Python Powered!
CTO 				(540) 361-1714			http://www.python.org
Zope Corporation	http://www.zope.com		http://www.zope.org





More information about the Zope3-dev mailing list