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 > changed so that the URL contains the @@. > > If you agree with this, where should I place this adapter? > > The two relevant interfaces are > zope.browser.interfaces.IBrowserView
Are you sure that most views provide IBrowserView these days? URL traversal looks them up as multi-adapters providing just Interface. > zope.traversing.browser.interfaces.IAbsoluteURL > > But neither package depends on the other, so a different package might > be more suiteable? Marius Gedminas -- http://pov.lt/ -- Zope 3 consulting and development
signature.asc
Description: Digital signature
_______________________________________________ Zope-Dev maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
