Re: [ZPT] redirection in a zpt

2005-07-08 Thread Dieter Maurer
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? Note, however, that (this form of) redirect takes effect only at the end of the request. You must take care, t

Re: [ZPT] redirection in a zpt

2005-07-08 Thread Philip Kilner
Hi, Kenneth Gonsalves wrote: > 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? In > python cgi i was doing: > > print "Location:" "url_to_go_to/n/n" > > any clues? > - Define each template (for your set of