isnext Element

Jump forward within a loop to the next list element of an iterator.

Syntax

<isnext/>

Purpose

This tag affects only the iterator of the inner loop. If an iterator has already reached its last element, or an iterator is empty when an <isnext> is processed, the loop is terminated instantly.

<isnext> can be used only within an <isloop>... </isloop> loop structure.

Example

The following example shows how to output the names of two products one after another:

<isloop iterator="${pdict.Products}" var="product">
  <isprint value="${product.name}">
  <isnext/>
  <isprint value="${product.name}"> <BR>
</isloop>
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.