[ZPT] ZPT beginner questions

Sim Harbert sim.harbert@zapmedia.com
Tue, 10 Apr 2001 16:01:43 -0400


Are there some good examples of Page Template files that
I can look over while trying to figure out how to use them?
The "examples" area of the Wiki is pretty sparse.

What I am trying to do is to execute Python code, and find
that ZPT's don't function much like DTML.  I have DTML like

    <dtml-in "getList('foo')" size="10">
        <dtml-var sequence-item><br>
    </dtml-in>

and would like to translate that to ZPT.  The function
"getList()" is defined for one of the parent objects for the
current folder in a Python base class.

-Sim