<while>

Like if, this tag requires either the attribute condition expression to be set, or its first child element to be an evaluatable. An unbounded loop can be obtained by setting either one of these to "true"; e.g.,

Examples

<while condition="$E{true}">
	<if>
                <equals first="${flag}" second="LOCKED"/>
		<wait on="${monitor}" timeout="5000"/>
		<else><break/></else>
	</if>
</while>
  • No labels