[Zope] RE: Possible error in the 'Let' How-To

Michel Pelletier michel@digicool.com
Thu, 9 Sep 1999 12:00:01 -0400


> -----Original Message-----
> From: Tony.McDonald@newcastle.ac.uk
> [mailto:Tony.McDonald@newcastle.ac.uk]
> Sent: Thursday, September 09, 1999 4:09 AM
> To: michel@digicool.com
> Subject: Possible error in the 'Let' How-To
> 
> Michel,
> Many thanks for the How-Tos (they're dead useful), but I 
> think there's an error in the 'Let' How-To.

dead?  This must be some sort of UKism.

> 
> But I've found that it only works if you do this;
>       <dtml-let name="'bob'"
>                 relation="'uncle'">
>         <dtml-var name> is your <dtml-var relation>
>       </dtml-let>
> 

You are correct, the How-To is wrong.  I'll fix it.

-Michel

> Otherwise you get NameErrors on 'bob' and 'uncle'.
> 
> I don't think it's my installation, as I've tried this on 
> 2.0a4 and 2.0 final.
> 
> cheers
> tone.
>