Am 07.04.2010, 15:41 Uhr, schrieb Chris McDonough <>:

>> I noticed in the 1.2 docs that view configuration in zcml uses the
>> 'context' predicate instead of the zope 'for' predicate. Just wanted to
>> know if I can still safely use 'for' or whether new code should switch
>> all those.

> The "for" spelling will continue to work "forever".

After Iain pointed this out I checked the book. "View" seems to relate to  
a specific object class rather than interface and I can imagine is a  
convenience for the very common case where interfaces have only a single  
implementation. Is this assumption correct?

Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
Repoze-dev mailing list

Reply via email to