This tag is used to render an individual item in the data set as it is iterated over by the <netui-data:repeater> tag.
<netui-data:repeaterItem
[choiceValue="string_choiceValue"] />
{container.item}
databinding expression.
The <netui-data:repeaterItem> tag can only be uesd when directly contained by a <netui-data:repeater> tag.
By default, the <netui-data:repeaterItem> simply renders its body once for each of the items in the <netui-data:repeater> tag's data set.
A <netui-data:repeaterItem> has the ability to render different HTML markup for each of the items that it renders. This is possible using the <netui-data:choiceMethod> and <netui-data:choice> tags. The <netui-data:choiceMethod> tag decides which <netui-data:choice> tag to render.
<netui-data:repeater dataSource="{pageFlow.myDataSet}"> <netui-data:repeaterHeader> <table border="1"> <tr> <td><b>index</b></td> <td><b>name</b></td> </tr> </netui-data:repeaterHeader> <netui-data:repeaterItem> <tr> <td> <netui:label value="{container.index}" /> </td> <td> <netui:label value="{container.item}" /> </td> </tr> </netui-data:repeaterItem> <netui-data:repeaterFooter> </table> </netui-data:repeaterFooter> </netui-data:repeater>
<netui-data:repeater> Tag Sample
Presenting Complex Data Sets in JSPs (Repeater Tags section)
<netui-data:repeaterHeader> Tag