Mill (Iterator) Viewtool documentation for the dotCMS Content Management System

The $mill (iterator) Velocity Viewtool is a convenience tool to use with #foreach loops. It wraps a list allowing you to specify a condition to terminate the loop, and to reuse the same list in different loops.

Toolbox.xml Configuration

The following shows how the mill tool is mapped in the toolbox.xml file: