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 <[EMAIL PROTECTED]> 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 > [email protected] > Unsub: > http://mail.zope.org/mailman/options/zope3-dev/dev%40projekt01.ch > > _______________________________________________ Zope3-dev mailing list [email protected] Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
