Kauri Documentation
 PreviousHomeNext 
8.4.8 blockBook Index8.4.10 comment

8.4.9 choose (when... otherwise...)

<t:choose>
  <t:when test="${false}">
    <p>first case - false</p>
  </t:when>
  <t:when test="${true}">
    <p>second case - true</p>
  </t:when>
  <t:otherwise>
    <p>other</p>
  </t:otherwise>
</t:choose>

TODO: describe behavior (only first matching when executed etc.), is otherwise optional, is content between the when's allowed and what happens with it

 PreviousHomeNext 
8.4.8 block8.4.10 comment