User Tools

Site Tools


when Tag

The when tag acts as a single case clause for a containing choose tag. Within a choose tag's scope, the first when tag to test true will become the processing result of the entire choose tag.

Attribute Kind Required Purpose
test string yes An XPath expression. If the select attribute of the containing choose tag is specified, this expression value is compared to the value of that select expression. Otherwise, this XPath expression is evaluated as a boolean..

Full Form

<c:when test=“” >

Usage and Samples

Return to index

org.gramar.base/tag.when.txt · Last modified: 2016/06/27 20:35 (external edit)