Hello, i have the same bug/problem when dealing with semicolons in
tal:attributes.
Does anybody can provide some hints on how to fix it ?
Thanks.
Mynthon wrote:
first. This is fragment from manual and it really should be corrected:
"A somewhat complicated example involving tal:repeat :
<tr tal:repeat="ranking playerRankings"
tal:attribute="class php: repeat.ranking.odd ? 'odd' : false">
...
</tr>"
"tal:attribute" to "tal:attributes"
2nd:
if i use ; (semicolon) in tal:attributes i get php error. If i use ;;
(two semicolons) i dont get error but i have two semicolons in output
code. Sample of use semocilons:
<td
tal:repeat="data person"
tal:content="data"
tal:attributes="style php: repeat.person.odd ? 'background: #eee;'
: false"
/>
i know that inline style isn't a good idea, but i think it should be
corrected.
--
Nestor A. Diaz
Ingeniero de Sistemas
Tel. +57 1-600-5490 x 211
Cel. +57 316-227-3593
Tel. SIP: sip:[EMAIL PROTECTED]
Email/MSN: [EMAIL PROTECTED]
http://www.tiendalinux.com/
Bogota, Colombia
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal