while

Purpose

Executes a condition in a loop until the condition returns false

Examples

<g:while test="${i < 5}">
    <%i++%>
    <p>Current i = ${i}</p>
</g:while>

Description

Attributes