Forum OpenACS Development: Re: New template tags - switch statement

Collapse
Posted by Ola Hansson on
Dan,

<if @z@ in "Greta" "Fred" "Sam">True</if>

is taken from the templating tag reference for "if" page (https://openacs.org/doc/acs-templating/tagref/if.html).

It seems to be in line with the above...

Collapse
Posted by Dan Wickstrom on
I forgot about that one. I guess we could have <case in "foo" "bar" "baz"> just to be consistent with the <if> tag, which makes sense, since switch is just a specialized form of if/elseif/else.