ah great ... thanks very much ... ill give this a shot.<br><br>many thanks,<br>AK<br><br><div class="gmail_quote">On Tue, Mar 10, 2009 at 4:31 PM, Andrew Milton <span dir="ltr">&lt;<a href="mailto:akm@theinternet.com.au">akm@theinternet.com.au</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">+-------[ Analog Kid ]----------------------<br>
<div class="im">| hi andrew:<br>
|<br>
| thx for your help. i dont want to call the method from the PT ... infact I dont<br>
| want to modify the PT at all ... i just need to figure out a<br>
| ZopePageTemplate.py method which I can patch so I can do the redirect even<br>
| before the PT is rendered.<br>
|<br>
| any ideas??<br>
<br>
</div>I&#39;m not sure how to detect if a redirect is necessary, I haven&#39;t<br>
trundled through the RESPONSE object enough, but, if you can work it<br>
out, you can probably grab the _exec method from PageTemplate, check<br>
and return empty there, or let it continue through to rendering.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Andrew Milton<br>
<a href="mailto:akm@theinternet.com.au">akm@theinternet.com.au</a><br>
</div></div></blockquote></div><br>