10 Jul
2003
10 Jul
'03
5:30 p.m.
--On Donnerstag, 10. Juli 2003 18:23 Uhr +0100 Peter Bengtsson <mail@peterbe.com> wrote:
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.
Shorter: <span tal:define="dummy here/IfNotLoggedInRedirectSomewhere" /> -aj