[Zope3-Users] ZPT Reuse

Craig Ewington ewington at adelphia.net
Fri Nov 19 10:47:21 EST 2004


I have a content component that I want to render the same way in a 
number of different pages.  Rather than replicating the zpt in each 
page, I'd like to factor it into one place.  ViewPageTemplate(...) 
looks promising, but I can't quite figure out how to bind a page 
template to a view and context object then have it render inside 
another page.  Can anyone recommend a code snippet for me to look at?

- Craig Ewington



More information about the Zope3-users mailing list