[Zope] dtml2zpt

Tino Wildenhain tino at wildenhain.de
Thu Dec 1 03:14:57 EST 2005


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.





More information about the Zope mailing list