Dear zopist I am trying to pick up zpt. Is there an equivalent command in zpt for <dtml-call RESPONSE.redirect('home_page'). Thank you. __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/
--On 1. Dezember 2005 00:02:07 -0800 Infor Gates <info_gates@yahoo.com> wrote:
Dear zopist
I am trying to pick up zpt. Is there an equivalent command in zpt for <dtml-call RESPONSE.redirect('home_page').
<tal:call define="dummy python: request.RESPONSE.redirect(...)" />
Andreas Jung schrieb:
--On 1. Dezember 2005 00:02:07 -0800 Infor Gates <info_gates@yahoo.com> wrote:
Dear zopist
I am trying to pick up zpt. Is there an equivalent command in zpt for <dtml-call RESPONSE.redirect('home_page').
<tal:call define="dummy python: request.RESPONSE.redirect(...)" />
Ferkel! ;))
Am Donnerstag, den 01.12.2005, 00:02 -0800 schrieb Infor Gates:
Dear zopist
I am trying to pick up zpt. Is there an equivalent command in zpt for <dtml-call RESPONSE.redirect('home_page').
There is, but the whole point of ZPT is not to do so but to separate logic, presentation and design. Usually you put your logic into your python language products or at least a couple of python scripts - you also can call one or different ZPT from python script so you can precalculate values, decide on where to go and redirect (as last resort) or return the desired page directly.
participants (3)
-
Andreas Jung -
Infor Gates -
Tino Wildenhain