<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