Forgive me for this stupid question:
How to assing a string value to a variable in DTML?
for example:
dtml-let a='a'
b='b'
dtml-var "a+b"
/dtml-let
it causes error, not what I expected:
given a="", b="", and eval a+b to ""
Thanks
iap
dtml-let a="'a'"
b="'b'"
dtml-var "a+b"
/dtml-let
Notice the quotes. See the How to on Let tags:
http://www.zope.org/Members/michel/HowTos/LetTagHow-To
DR
"iap_y2fun.com" wrote:
Forgive me for this stupid question:
How to assing a string value to a variable in DTML?
for example: