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.5.0 (2009-02-01)
Use zope.container instead of zope.app.container.
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.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 710d55b5bd824b046179c8889d8cf0832693dbff296dcc94edb9256a6cdf97a1 |
|
MD5 | ee3a43955e4f86982c130a96837808bf |
|
BLAKE2b-256 | 516b4af4b104d24e38c11409a1d220950cfe5e9aa691782299055717331c509b |