On 13.09.2009, at 12:09, Mariano Calandra wrote:
Hi.
I have an HTML tag that i need to specify with ID attribute, I would
this attribute as name_1, name_2 and so on.
Actually writing:
<span tal:attributes="id person/id_name"> some text </span>
I resolve partially my problem cause I just have 1, 2. How can i
prepone the static text "name_" to the dynamic text from person/
id_name???
<span id="name_${person/id_name}">
or
tal:attributes="id php:'name' . person['id_name']"> (assuming
person is an array)
--
regards, Kornel
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal