[Zope3-dev] browserDefault uses '@@' for containers

Fred Drake fdrake at gmail.com
Thu Sep 22 22:13:09 EDT 2005


On 9/22/05, Gary Poster <gary at zope.com> wrote:
> I believe that the idea is that the container traverser wants to
> specify that the default view name is a view, not an object in the
> container.  That is, if the default view is named index.html, and I
> have an object in the container named index.html, './index.html' will
> traverse to the object in the container while @@index.html will
> render the container view named 'index.html'.  Sometimes you *want*

That's right.  At one point it wasn't doing that (as best I recall),
so the default view was traversing when it shouldn't.  We decided to
change it specifically because it produced unexpected behavior.


  -Fred

--
Fred L. Drake, Jr.    <fdrake at gmail.com>
Zope Corporation


More information about the Zope3-dev mailing list