If I had to do it in DTML, I would do it like: <dtml-call "REQUEST.set('x', 'blank')"> The value of 'x' is: <dtml-var x><br> <dtml-call "REQUEST.set('x', 'test1')"> The value of 'x' is now: <dtml-var x> However, to quote the Zope Book: "When you find yourself writing complex DTML that requires things like new variables, there's a good chance that you could do the same thing better with Python or Perl. Advanced scripting is covered in Chapter 8." HTH, Eric.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of P Cowley Sent: Friday, July 27, 2001 3:33 PM To: zope@zope.org Subject: [Zope] Newbie: How to change the value of a dtml-var?
Please help, i have tried everything.
I just simple want to change the value of a let variable i created. Is this possible to do?
I want something like this:
<dtml-let x="blank"> <dtml-var x> = "test1" //I dont want to print anything here, just change the value of variable x </dtml-let>