[Zope] The name of the current DTML-document

Jim Washington jwashin@vt.edu
Thu, 20 Dec 2001 19:23:35 -0500


<dtml-var document_id> works for both DTML Methods and DTML Documents.
 
Chris McDonough wrote:

>> If you mean DMTL Method, a better way that usually works is:
>>
>>     <dtml-var "this().getId()">
>
>
> I lied.  This is unreliable.  At least it doesn't work for me. ;-)  
> Your way is a reasonable workaround.

-- Jim Washington