[ZPT] response.setHeader() best practice
Florent Guillaume
fg@nuxeo.com
Wed, 3 Apr 2002 13:34:31 +0000 (UTC)
seb bacon <seb@jamkit.com> wrote:
> Could anyone point me to a nicer way of doing:
> <span tal:content="nocall:python:response.setHeader('blah')"></span>
> ...using 'content' feels like an abuse of the attribute in this context.
Not that nicer, but I use:
<tal:block define="dummy python:response.setHeader('blah')" />
Florent
--
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 10 http://nuxeo.com mailto:fg@nuxeo.com