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 expressionsThe scripting variable through which the selected view is exposed in page scope.
items
, mandatoryA list of teaser items, a view is to be selected for each item in the list.
selectableViewMap
, mandatoryThe map of selectable views.
varIndex
, no runtime expressionsA scripting variable that if set, can be used to access the index of the current item to be rendered by the selected view.