ZopePageTemplates


In a short session i prototyped an Adapter that creates a Bridge between ZopeX3 PageTemplates and peak.web.

This adapter make a PageTemplate adapt to IWebMethod and therefore you can create an attribute on a class and assign it's value a PageTemplateFile. you can then use this attribute as "view" of the WebLocation you currently are.

This demo is based on the trivial_web example from the peak-sources. It replaces the def index_html with a pagetemplate.

Ulrich Eck