The PEAK Developers' Center   ZopePageTemplates UserPreferences
 
HelpContents Search Diffs Info Edit Subscribe XML Print View
The following 67 words could not be found in the dictionary of 50 words (including 50 LocalSpellingWords) and are highlighted below:
Adapter   Bridge   Eck   File   In   It   Location   Method   Page   Template   Templates   This   Ulrich   Web   X3   adapt   adapter   an   and   are   as   assign   attachment   attribute   based   between   can   cgi   class   create   creates   currently   def   demo   example   from   index   is   it   make   of   on   pagetemplate   peak   prototyped   python   replaces   script   session   short   source   sources   that   the   then   therefore   this   to   trivial   use   value   view   web   with   you   zpt   zpttest  

Clear message


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