[Zope] dtml-var weirdness
Andreas Jung
andreas@andreas-jung.com
Sat, 16 Feb 2002 12:52:30 -0500
----- Original Message -----
From: "Joseph A Knapka" <jknapka@earthlink.net>
To: "Andreas Jung" <andreas@andreas-jung.com>
Cc: <zope@zope.org>
Sent: Saturday, February 16, 2002 06:28
Subject: Re: [Zope] dtml-var weirdness
> Andreas Jung wrote:
> >
> > you mean <dtml-var xyz> or <dtml-var expr="_['xyz']"> ???
>
> My understanding is that <dtml-var xyz> is exactly equivalent
> to <dtml-var name="xyz">. In any case, the code fails in
> exactly the same manner no matter which syntax is used.
>
- dtml-var has no 'name' attribute but an 'expr' attribute
- both notations are different. all stuff between "..." is
treated as a Python expression.
- try to output the REQUEST object before and after setting
the variable. maybe this helps.
- aj