[z3-five] post-processing template result
Florian Schulze
florian.proff.schulze at gmx.net
Wed Mar 8 22:11:12 CET 2006
On Wed, 8 Mar 2006 16:18:42 +0100, Lennart Regebro
<regebro at gmail.com> wrote:
> On 3/8/06, Florian Schulze
> <florian.proff.schulze at gmx.net> wrote:
>> I would like to know how I could write an adapter or anything else to
>> postprocess the result of a template.
>
> Well, first question is "why?"
>
>> Any ideas how this could be done with Five in Plone?
>
> No, I don't think you can. You need to monkeypatch HTTPResponse.
The why was explained at the end, should have been at the top of the mail.
I want to workaround a bug in IE related to ajax.
I found a solution doing it the old Zope2 way. It's not transparent to the
developer, but easily usable. It's working using traverse_subpath of a
python script and a simple function which was made available with a proper
security declaration.
Regards,
Florian Schulze
More information about the z3-five
mailing list