[Zope3-dev] browserDefault uses '@@' for containers
Roger Ineichen
dev at projekt01.ch
Fri Sep 23 06:51:21 EDT 2005
Hi together
> Behalf Of Fred Drake
> Sent: Friday, September 23, 2005 4:13 AM
> To: Gary Poster
> Cc: Garrett Smith; zope3-dev
> Subject: Re: [Zope3-dev] browserDefault uses '@@' for containers
>
> 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.
I'm running into a bug with this behavior.
If I call myContainer/@@ or myContainer/ and get my registred
index.html (template) view back. There is the following part
rendered into the template '</'.
If I call myContainer/index.html or myContainer/@@index.html
this doesn't happen.
Does anybody know what's going on?
Regards
Roger Ineichen
> -Fred
>
> --
> Fred L. Drake, Jr. <fdrake at gmail.com>
> Zope Corporation
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev at zope.org
> Unsub:
> http://mail.zope.org/mailman/options/zope3-dev/dev%40projekt01.ch
>
>
More information about the Zope3-dev
mailing list