question about string manipulation and tal:attributes
I need to concatenate strings is this a way I can do it? resString is a variable that contains a string. <DIV tal:attributes="id string:$resString + 'Parent'"> thanks.
Laura McCord wrote:
I need to concatenate strings is this a way I can do it? resString is a variable that contains a string.
<DIV tal:attributes="id string:$resString + 'Parent'">
thanks. _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
I use <div tal:attributes='id string:${resString}Parent'> If you use string: zope assumes the sentence is a string and with ${} zope assumes you are referencing an object
participants (2)
-
Garito -
Laura McCord