Transaction API

when

when tag

This tag evaluates the test expression. If it evaluates to true, the nested content is processed. This tag exists as a child to an <c:choose> tag. Supported in documents.

Tag Attributes
Attribute Notes
test Required

Sample:

<c:choose>
    <c:when test="${name eq 'cc'}">
        <c:fragment name="ccard"/>
    </c:when>
    <c:when test="${name eq 'ach'}">
        <c:fragment name="ach"/>
    </c:when>
    <c:otherwise>
        <c:fragment name="unknown"/>
    </c:otherwise>
</c:choose>
Copyright © 2006 - 2025, ContractPal, Inc. All rights reserved. API Date: May 13, 2025 07:00 AM