Or simply :
from zope.traversing.browser.absoluteurl import absoluteURL
absoluteURL(self.context, self.request)
Jürgen
[EMAIL PROTECTED] wrote:
self.context.absolute_url looks very zope2ish, absolute_url is no longer
inherited, it is an adapted component, so I believe the accepted Zope3 way
This was already in FAQ:
http://kpug.zwiki.org/Zope3Faq#is-there-a-function-with-which-i-can-get-the-url-of-a-zope-object
So always look at FAQ first :)
Regards,
Baiju M
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/lis
At Tuesday 3/10/2006 04:23, Baiju M wrote:
This was already in FAQ:
http://kpug.zwiki.org/Zope3Faq#is-there-a-function-with-which-i-can-get-the-url-of-a-zope-object
So always look at FAQ first :)
...and how does one know about that FAQ existence?
Gabriel Genellina
Softlab SRL
On 10/3/06, Gabriel Genellina <[EMAIL PROTECTED]> wrote:
At Tuesday 3/10/2006 04:23, Baiju M wrote:
>This was already in FAQ:
>http://kpug.zwiki.org/Zope3Faq#is-there-a-function-with-which-i-can-get-the-url-of-a-zope-object
>So always look at FAQ first :)
...and how does one know about that FAQ