Hi, I'm wondering how can I write a switch/case block like bellow:
<tal:block tal:switch="x">
<tal:case="0 or 1">
<div> ..... </div>
<tal:case="2">
<div> ....</div>
</tal:block>
it seems that *case *doesn't support logic operator (*and* /*or* /*not*)here.
So, is there any way I can do it in the switch?
Thanks
George Hu
--
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.