util:toggleNext

Advances the specified Toggle one step forward in its list. If the Toggle reaches the end, then it automatically restarts at the beginning.

See also

util:toggle

Syntax
<util:toggleNext
   name="..."?
   scope="..."?
   toggle="..."?/>
Attributes
name

The name of the attribute that contains the Toggle object. One of name or toggle must be specified.

toggle

A scriptlet that evaluates to the Toggle object to advance. One of name or toggle must be specified.

scope

On which scope the tag will look for the toggle. Allowed values are: page, request, session and application.