[Zope-dev] absolute_url() and DTML Methods

David Brown davidbro@namshub.org
Mon, 01 May 2000 10:27:56 -0700


Why is it that when I call absolute_url() on a DTML Method, I get the
URL of the enclosing container, not the DTML Method within that
container?

Is there an equivalent method that will give me the real location of the
DTML Method?

Quick reproduction scenario:

root+
    |
    +Folder
        |
	+DTML Method

DTML Method contains:

<dtml-var standard_html_header>
<dtml-var "absolute_url()">
<dtml-var standard_html_footer>

Navigating to the method and hitting "view" gives me the URL of Folder.

dave