wf-core:iterateViews

This tag iterates through a map of views to select a particular one for each item in a list of articles.

Syntax
<wf-core:iterateViews
   items="..."
   selectableViewMap="..."
   var="..."
   varIndex="..."?>
   ...
</wf-core:iterateViews>
Attributes
var, mandatory, no runtime expressions

The scripting variable through which the selected view is exposed in page scope.

items, mandatory

A list of teaser items, a view is to be selected for each item in the list.

selectableViewMap, mandatory

The map of selectable views.

varIndex, no runtime expressions

A scripting variable that if set, can be used to access the index of the current item to be rendered by the selected view.