Open TheNaderio opened 5 years ago
Me too thanks
I can confirm that request too.
How about:
<f:switch expression="{expr}">
<f:case value="val3" additionalValues="{val1, val2}">
on one of this cases
</f:case>
<f:case value="val4">
on val4
</f:case>
<f:defaultCase>
default
</f:defaultCase>
</f:switch>
I'd also love to get an expression such as
<f:case value="val1 || val2 || val3">
to handle such cases.
A fall through option for f:switch viewhelper would be a very nice to have.
Something like:
Or maybe
that would help in many cases where the same result should come out.