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.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
Built Distribution
Hashes for zope.app.pagetemplate-3.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4b0113c2fd9eb38b1ab700f7d027706cd5954f351a0474542e2217fc68357c6 |
|
MD5 | ffc041c3dec95f0cb532e0afd1b9846d |
|
BLAKE2b-256 | 7560576a2db4741d7c36669ad14aa71a6e03aa9b730dbe348e2edf97f4146fc2 |
Hashes for zope.app.pagetemplate-3.4.0-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a550cdaccfd5b01fa179e0d002ae33523f8af8da00be5b63376505d8aeb6248 |
|
MD5 | 1440aaec014b682904b35a6119a40363 |
|
BLAKE2b-256 | 5f116265d08e39aec0dbda0f9b821ea79ae63be618cd568ef65f452499d91393 |