[Zope] ZPT equivalent of <dtml-var id>

Paul Winkler slinkp23@yahoo.com
Sun, 15 Jul 2001 11:43:19 -0400


I wrote:
> I'm sure this is obvious, but I'm not finding it...
> 
> in dtml I can get the ID of the current page as a string by doing
> <dtml-var id>
> 
> How do I get the same thing in ZPT?
(snip)

Found it!

<p tal:content="template/id"> here goes the id </p>

-- 
...................    paul winkler   ....................
custom calendars & printing: http://www.calendargalaxy.com
       A member of ARMS:   http://www.reacharms.com
            home page:  http://www.slinkp.com