Nov 10, 2018

ui:repeat varStatus example

To output ',' for each item except for the last one:

<ui:repeat value="#{myCollection}" var="v" varstatus="vars">
 #{v.tag}
 <h:outputtext rendered="#{not vars.last}" value=", "/>
</ui:repeat>