17 Aug
2002
17 Aug
'02
5:49 p.m.
Hi Myroslav, Please don't post in HTML. Myroslav Opyr wrote:
tal:attributes should look like attributes="class string:row${python:minutes%60}in${step}". But TALES string: "${}" substitute can contain only global-name or path only.
So why not do it like this: tal:attributes="class python:'row%sin%s' % (minutes%60,step);" ?
Note that I am unable to use <tbody tal:repeat=...><tr tal:define=... tal:attributes=...> trick due to other limitations.
...then use <tal:x , which won't be output to browser. cheers, Chris