[Zope] Use of lambda expression in DTML
Dieter Maurer
dieter@handshake.de
Sat, 27 May 2000 01:15:27 +0200 (CEST)
Nick Drew writes:
>
> I'm a newbie zopista, and python for that matter...
>
> In brief: I get a NameError when invoking "filter(...)" from DTML. I thought this was a built-in python method, so I'm a bit puzzled.
For security reasons, Zope are removed all builtin-functions from
DTML expressions. You can access some of the builtin objects
as attributes/methods the special variable "_".
Look in the DTML reference (e.g. at URL:http://zdp.zope.org)
for a list of available builtins in "_".
Dieter