The PEAK Developers' Center   ZopePageTemplates UserPreferences
 
HelpContents Search Diffs Info Edit Subscribe XML Print View

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


PythonPowered
EditText of this page (last modified 2003-07-11 23:06:17)
FindPage by browsing, title search , text search or an index
Or try one of these actions: AttachFile, DeletePage, LikePages, LocalSiteMap, SpellCheck