Kenneth Gonsalves wrote at 2005-7-8 18:16 +0530:
>in a zpt, i use tal:condition to check something. If it is true, the 
>browser should redirect to another template. How do it do this?

 <tal:redirect define="dummy request.RESPONSE.redirect(new_absolute_location)" 
/>

Note, however, that (this form of) redirect takes effect only at the end of
the request. You must take care, that further request
processing does not do bad things...

-- 
Dieter
_______________________________________________
ZPT mailing list
ZPT@zope.org
http://mail.zope.org/mailman/listinfo/zpt

Reply via email to