On 21 August 2011 21:01, Gustavo Fonseca <[email protected]> wrote:
> I think it would be something like:
> <li class="defaultClass" tal:attributes="class 'selectedClass' if a==b
> else 'default' ">

Except there should be no quotes around ``default`` (it's a special
variable name, not a string).

\malthe

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to