[Zope] The name of the current DTML-document

Bruce Eckel Bruce@EckelObjects.com
Thu, 20 Dec 2001 14:53:29 -0800


Is this a good way to get the name of the current DTML document?
<dtml-var "_['URL'].split('/')[-1]">

Also, how would I print out all the fields for '_'?
(always looking for a way to write code to figure out what I want
to do...)

Most current information can be found at:
http://www.mindview.net/Etc/notes.html
===================
Bruce Eckel    http://www.BruceEckel.com
Contains free electronic books: "Thinking in Java 2e" & "Thinking
in C++ 2e"
Please subscribe to my free newsletter -- just send any email to:
join-eckel-oo-programming@earth.lyris.net
My schedule can be found at:
http://www.mindview.net/Calendar
===================