The PEAK Developers' Center   Diff for "ZopePageTemplates" UserPreferences
 
HelpContents Search Diffs Info Edit Subscribe XML Print View
Ignore changes in the amount of whitespace

Differences between version dated 2003-07-11 12:25:13 and 2003-07-11 23:06:17 (spanning 4 versions)

Deletions are marked like this.
Additions are marked like this.

In a short session i prototyped an Adapter that
created a Bridge between ZopeX3 PageTemplates and peak.web.
creates a Bridge between Zope``X3 Page``Templates and peak.web.
 
This adapter make a Page``Template adapt to I``Web``Method and therefore
you can create an attribute on a class and assign it's value
a Page``Template``File. you can then use this attribute as "view" of the
Web``Location 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.
 
  python-source attachment:zpttest.py
 

PythonPowered
ShowText of this page
EditText of this page
FindPage by browsing, title search , text search or an index
Or try one of these actions: AttachFile, DeletePage, LikePages, LocalSiteMap, SpellCheck