[Zope] dtml-call but with TAL
Peter Bengtsson
mail@peterbe.com
Thu, 10 Jul 2003 19:15:26 +0100
> slightly more good looking :
>
> <tal:redirect define="dummy here/IfNotLoggedInRedirectSomewhere" />
>
That's probably what I was looking for. Thank you.
However, it appears that if you do it this way where a variable is
expected to be defined ('dummy' in this case) if you script does do a
redirect it'll need a lock=1 argument and the URL in the addressfield
doesn't match what you see on the screen.
What I went for instead was:
<span tal:condition="here/IfNotLoggedInRedirectSomewhere">
</span>
Peter