[Zope] Avoiding page redirects from TAL
Andrew Milton
akm at theinternet.com.au
Tue Mar 10 07:01:41 EDT 2009
+-------[ 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
More information about the Zope
mailing list