Re: IAbsoluteURL for browser view should contain @@?
Marius Gedminas <[email protected]>
| Newsgroups | gmane.comp.web.zope.devel |
|---|---|
| Message-ID | <20100401094653.GA30668@platonas> |
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 _______________________________________________ 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 )
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAku0a4kACgkQkVdEXeem14/bjgCghABq312hfN203VzgfRh5W6yf 1akAnAzhPFM5buHgiSyzUMfAL71PYItX =JMLb -----END PGP SIGNATURE-----