[ZPT] What's the store now?

Evan Simpson evan@digicool.com
Tue, 15 May 2001 10:31:46 -0400


From: "Peter Bengtsson" <mail@peterbe.com>
> To sum up (for us deadly people):

You shall not disturb me with your deadliness, for I am 133t!
 I answer because these are fine examples:

> What will be the equivalent for these statements using the latest
TAL/TALES definitions:
>
> <dtml-var knife missing>

<span tal:replace="knife | nothing" />

> <dtml-var fork  missing="Bring one next time will ya">

<span tal:replace="fork | default">Bring one next time will ya</span>

> <dtml-var spoon null="At least it's an empty spoon">

<span tal:replace="python:spoon or default">At least it's an empty
spoon</span>

Fnord,

Evan @ digicool