Loop Verb Syntax

ColdFusion supports five forms of the cfloop tag:

  • from / to / index
  • query
  • condition
  • collection / item
  • list / index

Fusebox 4.1 supported just the first three of those. Fusebox 5 adds support for the last two as well:

<loop collection="#someStruct#" item="someVariable"> .. </loop>

<loop list="#someList#" index="someVariable"> .. </loop>