Using tal:attributes with a python script
13 Sep
2004
13 Sep
'04
8:18 p.m.
I have the following line of code: <font color="" tal:define="actStatus result/Active_Inactive" tal:attributes="color python:here.statChk(actStatus)"> .... I am trying to pass the value that is in actStatus into the statChk script. I am changing the font color based on what is returned by the script. The script works because in place of actStatus I used the strings that would give me the necessary results. So, it is just a matter of how I am supposed to pass the parameter without confusing the color attribute. Thanks.
7875
Age (days ago)
7875
Last active (days ago)
0 comments
1 participants
participants (1)
-
Laura McCord