PageTemplate integration for Zope 3
Project description
The zope.app.pagetemplate package integrates the Page Template templating system (zope.pagetemplate) into the Zope 3 application server. In particular, it provides:
a TALES engine implementation that uses Zope’s security system for checking access,
a ViewPageTemplateFile class that can be put on a browser page class as an attribute and will function as a callable method whose result is the rendered template, e.g.:
from zope.publisher import BrowserPage from zope.app.pagetemplate import ViewPageTemplateFile class HelloWorldPage(BrowserPage): __call__ = ViewPageTemplateFile('helloworld.pt')
TALES namespace adapters for easy access to DublinCore metadata (e.g. obj/zope:title) and URL quoting (e.g. obj/@@absolute_url/url:quote).
Changes
3.4.1 (2008-07-30)
Substitute zope.app.zapi by direct calls to its wrapped apis. See http://launchpad.net/bugs/219302
Fix deprecation warning in ftesting.zcml: ZopeSecurityPolicy now lives in zope.securitypolicy.
3.4.0 (2007-09-28)
Initial release as standalone package.
Dependency on zope.app.interpreter moved to an extra [inline-evaluation]. It is only needed by zope.app.pythonpage, which is an oddity.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for zope.app.pagetemplate-3.4.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91c61da12994b2acf5e9afde1529155f71954e0306f7d3a648c2ead69f3d2e91 |
|
MD5 | 6ebb88bf74dd63b3d71f83aae01c0aac |
|
BLAKE2b-256 | bc69ca7c3ce5d1f4314fed30b07fbb30ed310747ac9cbc64ff10b49eb936894b |