[Zope] question about string manipulation and tal:attributes
Garito
garito at sistes.net
Tue Aug 31 10:58:25 EDT 2004
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 at 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
More information about the Zope
mailing list