[Zope] dtml-call but with TAL

Peter Bengtsson mail@peterbe.com
Thu, 10 Jul 2003 18:23:52 +0100


I have several places where the DTML used to look like this::

  <dtml-call "IfNotLoggedInRedirectSomewhere()">

The equivalent in TAL would be what?


My current implementation is::

  <span tal:define="dummy here/IfNotLoggedInRedirectSomewhere" 
tal:replace="nothing"></span>

There must be a more good looking solution other than rewriting the 
whole way the site works.

Peter