[Zope] Re[2]: [Zope] with-tag-problem ..

Geir B Hansen Geir B Hansen <geirh@funcom.com>
Wed, 22 Dec 1999 15:24:27 +0100


on 22. desember 1999 Phillip J. Eby wrote :

>>
>>tried all variations of the with tag i could think of, but without success:
>><dtml-with name>
>><dtml-with "name">
>><dtml-with _['name']>

PJE> I believe you're looking for:

PJE> <dtml-with "_[name]">

PJE> Note the double quotes to indicate an expression, and the lack of single
PJE> quotes around name, indicating it is a variable rather than a string constant.

Argh !!  of course !! Works beautifully..

i am ashamed of myself.. -- the single quotes ! - should have known
that..   .. gotta get this brain working soon..

:-)

Thanks a lot  !


--
Geir B Hansen
web-developer/designer
geirh@funcom.com
http://www.funcom.com