dtml-var does indeed have a "name" attribute... jens On Saturday, February 16, 2002, at 12:52 , Andreas Jung wrote:
----- 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