[ZPT] using ZPT as part of a product?

Chris Curvey chris@chriscurvey.com
Sat, 11 Aug 2001 13:04:55 -0400


Hi!  I would like to be able to use ZPT in a Zope product that I'm
working on.  When I use DTML to render the interface, my code looks like
this:

from Globals import DTMLFile

class Minimal:
   <snip>
   index_html = DTMLFile("www/index_html", globals())
   <snip>

Is there a similar thing for ZPT so that I can just plug the page
template into my classes?

-Chris

(If the answer to this is RTFM, please point me to the appropriate part
of the FM :)

--
Chris Curvey
Curvey Consulting
http://www.chriscurvey.com