« Previous | Next » 

Revision 9efd66f4

ID9efd66f48bd236b586efc679a926501bbe9762ae

Added by Robert Lemke almost 8 years ago

[FEATURE] "DefaultCase" view helper for the "Switch" view helper

This introduces a view helper which allows for specifying markup being
rendered when no "case" view helpers matches within a "switch" view helper
construct.

Example:

<f:switch expression="{fruit}">
<f:case value="apple">Apple</f:case>
<f:case value="pear">Pear</f:case>
<f:defaultCase>Some other fruit</f:defaultCase>
</f:switch>

Change-Id: Ia39e62a5d29678671af4b7daa869a885aba668c9
Releases: 2.2, master

  • added
  • modified
  • copied
  • renamed
  • deleted