[Zope] something like getpath in ZCatalog for methods

Dieter Maurer dieter@handshake.de
Wed, 2 May 2001 19:57:55 +0200 (CEST)


Marcus Schopen writes:
 > is it possible to get the absolut position/url of a method (e.g. method_X) that
 > is located somewhere in one of the above parents folders?
There are "absolute_url" and "getPhysicalPath".

If you use "absolute_url" you may (or may not!) want to use "this()" to
get rid of unwanted acquisition context. Something like:

    <dtml-var "method.this().absolute_url(1)">


Dieter