On Thursday 01 June 2006 10:32, [EMAIL PROTECTED] wrote:
> Can I (ab)use ZPT for such purpose? I need to design ZPT template and write
> corresponding View object. How to wire together the ZPT template and
> corresponding View object to render a HTML message and send it using mail
> utility?
>
> Could you suggest some points to start with?

There is absolutely nothing magic about ZPT pages and the Web. We use page 
templates for all sorts of things including HTML, generic XML and RML. All 
that th e"view-version" of ZPT does is provide a request and context as top 
level namespaces. You can write your own page template class that provides 
other namespaces. You should start at looking at zope.pagetemplate.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to