[Zope] passing parameter problem

Laura McCord Laura.McCord at doucet-austin.com
Tue Sep 14 16:01:29 EDT 2004


It seems like I have done this hundreds of times and it worked. Can some
point out what I am doing wrong?

<div tal:define="actStatus result/Active_Inactive;
                 colorStat python:here.statChk(actStatus)">

I also tried this:
 
    <div tal:define="colorStat python:here.statChk('${actStatus}')">

tried something like this too:

    <font color="" tal:attributes="color
string:statChk{'${actStatus}')">

What is the correct syntax for this? It seems like I am really close but
I am running out of ideas.

Thanks.


More information about the Zope mailing list