[ZPT] using ZPT as part of a product?

Peter Bengtsson mail@peterbe.com
Tue, 14 Aug 2001 09:21:43 +0200


http://www.zope.org/Members/peterbe/NetSend

Pretty funky use of it too. It'll let designers create a "skin" and install
it into the product.


----- Original Message -----
From: "Chris Curvey" <ccurvey@bellatlantic.net>
To: <zpt@zope.org>
Sent: Saturday, August 11, 2001 7:04 PM
Subject: [ZPT] using ZPT as part of a product?


> 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
>
>
>
> _______________________________________________
> ZPT mailing list
> ZPT@zope.org
> http://lists.zope.org/mailman/listinfo/zpt