[Zope3-checkins] SVN: Zope3/trunk/src/z Added an explicit default layer, which is not a sub interface of IBrowserRequest. This provides two benefits:

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Nov 2 11:52:22 EST 2004


On Tuesday 02 November 2004 11:32, Garrett Smith wrote:
>   Added an explicit default layer, which is not a sub interface of
> IBrowserRequest. This provides two benefits: 
>   - The default layer is not automatically used for browser request if it's
> not in the current skin. 
>   - The default layer is not necessarily last in order of layer precedence
> when looking up views, resources, etc. 
>   The impact of this change is on how browser requests are constructed:
> IDefaultLayer must explicitly be provided by a request in order to pick up
> default views, resources, etc.

Even the default layer should extend IBrowserRequest. Your two benefits should 
still be there.

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