[Zope] dtml-var enhancement suggestion
Evan Simpson
evan@4-am.com
Mon, 31 Jan 2000 13:56:55 -0600
"James W. Howe" wrote:
> Would it be terribly unreasonable to add a
> "default=xxx" parameter to dtml-var?
Ever heard of Guido's time machine? I'm borrowing it :-)
Go ahead and try (if you're at 2.1.1 or better):
<dtml-var undefined_thing missing="I don't exist">
There should also soon be a "default" parameter which acts a lot like "missing"
except it affects existing variables which have the value None as well as
undefined variables.
Cheers,
Evan @ 4-am (and soon digicool)