[Zope] Getting ID of dtml-method

Dieter Maurer dieter@handshake.de
Mon, 9 Sep 2002 20:38:53 +0200


Kevin Carlson writes:
 > Is there a way to get the ID of a dtml method from with the given method
 > itself?
Yes, via "document_id".

 > Also, is there a way to retrieve the ID of the calling method from
 > inside of standard_html_header?
Not in general, but if it happens to be the object called through the
Web, it will be possible:

  The object called through the Web is accessible as "REQUEST['PUBLISHED']".
  You can use its "getId()" method.


Dieter