17 Aug
2000
17 Aug
'00
2:48 p.m.
<dtml-let a="'aaaaa'" b="'bbbbb'"> <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:
<dtml-let a='aaaaa' b='bbbbb'> <dtml-var "a+b"> </dtml-let>
it causes error, not what I expected: given a="aaaa", b="bbbb", and eval a+b to "aaaabbbb"
Thanks
iap
_______________________________________________ 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 )