Reputation: 8263
I have a collection I want to display using the <ui:repeat>
JSF tag.
What would be a proper way to add separators between the elements of the collection?
Because obviously if I do :
<ui:repeat value="#{myBean.myCollection}" var="toPrint">
#{toPrint.property},
</ui:repeat>
the last one will have a comma after it though it is the last.
Upvotes: 1
Views: 951