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

Christian Zagrodnick cz at gocept.com
Thu Apr 1 04:25:09 EDT 2010


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 should I place this adapter?

The two relevant interfaces are
zope.browser.interfaces.IBrowserView
zope.traversing.browser.interfaces.IAbsoluteURL

But neither package depends on the other, so a different package might 
be more suiteable?

Regards,
-- 
Christian Zagrodnick · cz at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 4 · fax +49 345 1229889 1
Zope and Plone consulting and development




More information about the Zope-Dev mailing list