From 0e21c22166f5160a2a64fad714d69d81897ef7d3 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 17 Aug 2008 17:32:54 +0000 Subject: - Add ```` directive. This directive currently allows only one attribute: ``reload_templates``. If e.g.:: is in your application's ZCML, you will not need to restart the appserver in order for ``z3c.pt`` or XSLT template changes to be detected and displayed. --- CHANGES.txt | 11 ++++++++++ docs/narr/myproject/myproject/configure.zcml | 6 ++++- docs/narr/project.rst | 20 ++++++++++++++--- repoze/bfg/interfaces.py | 7 +++++- repoze/bfg/meta.zcml | 6 +++++ repoze/bfg/sampleapp/configure.zcml | 3 +++ repoze/bfg/template.py | 33 ++++++++++++++++++---------- repoze/bfg/tests/test_zcml.py | 31 ++++++++++++++++++++++++++ repoze/bfg/zcml.py | 27 +++++++++++++++++++++++ 9 files changed, 127 insertions(+), 17 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 06a3e030e..4717cfce2 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,14 @@ +Next release + + - Add ```` directive. This directive currently allows + only one attribute: ``reload_templates``. If e.g.:: + + + + is in your application's ZCML, you will not need to restart the + appserver in order for ``z3c.pt`` or XSLT template changes to be + detected and displayed. + 0.3.0 - Add ``get_template`` API to template module. diff --git a/docs/narr/myproject/myproject/configure.zcml b/docs/narr/myproject/myproject/configure.zcml index 174b27354..6cd692784 100644 --- a/docs/narr/myproject/myproject/configure.zcml +++ b/docs/narr/myproject/myproject/configure.zcml @@ -2,9 +2,13 @@ xmlns:bfg="http://namespaces.repoze.org/bfg" i18n_domain="repoze.bfg"> - + + + + + + diff --git a/repoze/bfg/sampleapp/configure.zcml b/repoze/bfg/sampleapp/configure.zcml index a5f27595e..d20d7d8f9 100644 --- a/repoze/bfg/sampleapp/configure.zcml +++ b/repoze/bfg/sampleapp/configure.zcml @@ -4,6 +4,9 @@ + +