[Zope-dev] IAbsoluteURL for browser view should contain @@?

2010-04-01 Thread Christian Zagrodnick
Hi, the explicit way to address a view is using the /@@viewname namespace traversal. An IAbsoluteURL for a browser view returns an URL without the @@ (i.e. /foo/bar/view instead of /foo/bar/@@view). I think this should be changed so that the URL contains the @@. If you agree with this, where

Re: [Zope-dev] IAbsoluteURL for browser view should contain @@?

2010-04-01 Thread Marius Gedminas
On Thu, Apr 01, 2010 at 10:25:09AM +0200, Christian Zagrodnick wrote: the explicit way to address a view is using the /@@viewname namespace traversal. An IAbsoluteURL for a browser view returns an URL without the @@ (i.e. /foo/bar/view instead of /foo/bar/@@view). I think this should be

Re: [Zope-dev] IAbsoluteURL for browser view should contain @@?

2010-04-01 Thread Jacob Holm
Marius Gedminas wrote: Are you sure that most views provide IBrowserView these days? URL traversal looks them up as multi-adapters providing just Interface. True and you will almost never see a view class using implements(IBrowserView) directly. Still, if you use the browser:view or

Re: [Zope-dev] IAbsoluteURL for browser view should contain @@?

2010-04-01 Thread Christian Zagrodnick
On 2010-04-01 12:31:10 +0200, Jacob Holm j...@improva.dk said: Marius Gedminas wrote: Are you sure that most views provide IBrowserView these days? URL traversal looks them up as multi-adapters providing just Interface. True and you will almost never see a view class using