[Zope3-checkins] SVN: Zope3/trunk/src/zope/ Moved support for
layers back into zope:view. Removed support for multiple 'for's
in browser:view because it's YAGNI/WHUI.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Nov 9 06:28:36 EST 2004
On Monday 08 November 2004 19:44, Garrett Smith wrote:
> Moved support for layers back into zope:view. Removed support for
> multiple 'for's in browser:view because it's YAGNI/WHUI.
> When a 'layer' is not specified in zope:view, the default layer for the
> view 'type' is used, if available. A new directive zope:defaultLayer is
> used to specify a default layer for a request type.
> Changed IDefaultLayer to IDefaultBrowserLayer since there can be other
> default layer types.
Didn't you guys agree this was the worst way to do it; I mean add layers back
to zope:view? I really would like to see the use cases for having layer
support in other presentation types.
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-Checkins
mailing list