[Zope-dev] Zope2 debug-mode vs ZCML dev-mode, ZCML conditionals
Thomas Lotze
tl at gocept.com
Tue Sep 15 02:27:32 EDT 2009
Andreas Jung wrote:
> On 15.09.09 08:00, Thomas Lotze wrote:
>> - Is Zope2 debug mode semantically equivalent to ZCML dev-mode, i.e.
>> should the two be linked to each other in the first place?
>>
> What is the ZCML dev-mode?
It's a so-called ZCML "feature" that can be used with ZCML conditionals.
It can be switched on like this:
<meta:provides feature="devmode"/>
and used elsewhere like this:
<adapter zcml:condition="have devmode" factory="foo.bar.baz"/>
--
Thomas
More information about the Zope-Dev
mailing list