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

many thanks,
AK

On Tue, Mar 10, 2009 at 4:31 PM, Andrew Milton <a...@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
> a...@theinternet.com.au
>
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to