wf-core:resolveView
This tag iterates through a map of views to select a particular one for each item in a list of articles.
Syntax
<wf-core:resolveView item="..." selectableViewMap="..." var="..." varIndex="..."?> ... </wf-core:resolveView>
Attributes
var
, mandatory, no runtime expressionsThe scripting variable through which the selected view is exposed in page scope.
item
, mandatoryA ResultItem object
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.