[Zope-CMF] Re: Required argument for registerDirectory ZCML directive

yuppie y.2008 at wcm-solutions.de
Mon Jan 21 13:24:27 EST 2008


Dorneles Treméa wrote:
> I'm wondering if is there any reason for registerDirectory (from
> CMFCore.zcml.py) also requiring the 'name' argument when you inform
> a value for the 'directory' argument:

Can't see any good reason.

> I would say that you only need to specify one of them, but not both,
> which seems to be easy to do with invariants.
> 
> Am I on the right track? :-)

I guess you are.

Cheers, Yuppie



More information about the Zope-CMF mailing list