[Zope] The let Tag.

Evan Simpson evan@tokenexchange.com
Wed, 15 Sep 1999 11:20:13 -0500


Sorry about that, I answered without reading closely enough.  You want
"mick" and "uncle" to be string literals, don't you.

The Let tag treats attributes the same way that Var does, so "mick" is
actually a Python expression which tries to take the value of the variable
'mick'.  You want to put single quotes inside the double quotes, thus: "
'mick' ".  This should do what you want.

----- Original Message -----
From: <picasso@videotron.ca>
> <dtml-let firstname="mick"
>           relation="uncle">
>    <dtml-var firstname> is your <dtml-var relation>
> </dtml-let>
>
> Same result:
>
> Error Type: NameError
> Error Value: mick