[Zope] Newbie: How to change the value of a dtml-var?
Andy McKay
andym@ActiveState.com
Fri, 27 Jul 2001 15:55:54 -0700
Nope. You'll have to set it in the request to change it, something along the
lines of:
<dtml-call "REQUEST.set('x', 'blank')">
<dtml-call "REQUEST.set('x', 'somethingelse')">
And before anyone gets a chance to say it, consider using a Python Script
for this kind of logic.
Cheers.
--
Andy McKay.
----- Original Message -----
From: "P Cowley" <pythoniac@yahoo.com>
To: <zope@zope.org>
Sent: Friday, July 27, 2001 3:33 PM
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>
>
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>