Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zope.app.pagetemplate-3.5.0.tar.gz (17.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page