Am 07.04.2010, 15:41 Uhr, schrieb Chris McDonough <chr...@plope.com>:

>> 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
-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to