[Zope] Avoiding page redirects from TAL

Analog Kid garlictrompet at gmail.com
Tue Mar 10 07:36:03 EDT 2009


ah great ... thanks very much ... ill give this a shot.

many thanks,
AK

On Tue, Mar 10, 2009 at 4:31 PM, Andrew Milton <akm at theinternet.com.au>wrote:

> +-------[ Analog Kid ]----------------------
> | hi andrew:
> |
> | thx for your help. i dont want to call the method from the PT ... infact
> I dont
> | want to modify the PT at all ... i just need to figure out a
> | ZopePageTemplate.py method which I can patch so I can do the redirect
> even
> | before the PT is rendered.
> |
> | any ideas??
>
> I'm not sure how to detect if a redirect is necessary, I haven't
> trundled through the RESPONSE object enough, but, if you can work it
> out, you can probably grab the _exec method from PageTemplate, check
> and return empty there, or let it continue through to rendering.
>
> --
> Andrew Milton
> akm at theinternet.com.au
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20090310/d7ccf16f/attachment.html 


More information about the Zope mailing list