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 expressions

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

item, mandatory

A ResultItem object

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.