You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A fall through option for f:switch viewhelper would be a very nice to have.
Something like:
<f:switch expression="{expr}">
<f:case value="val1"/>
<f:case value="val2"/>
<f:case value="val3">
on one of this cases
</f:case>
<f:case value="val4">
on val4
</f:case>
<f:defaultCase>
default
</f:case>
</f:switch>
Or maybe
<f:switch expression="{expr}">
<f:case value="val1" fallthrough="val3"/>
<f:case value="val2" fallthrough="val3"/>
<f:case value="val3">
on one of this cases
</f:case>
<f:case value="val4">
on val4
</f:case>
<f:defaultCase>
default
</f:case>
</f:switch>
that would help in many cases where the same result should come out.
The text was updated successfully, but these errors were encountered:
<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>
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.
The text was updated successfully, but these errors were encountered: