I\'m using the repeat
tag of JSF 2.0 to loop through a list of objects and display some of their properties. I want to use the varStatus
attribute
The end
is only used when you set the size
attribute.
<ui:repeat ... size="#{fn:length(objectList)}">
Alternatively, you can also just use it directly.
Item #{repeatStatus.index + 1} of #{fn:length(objectList)}
By the way, the boolean comparison in #{false == repeatStatus.last}
is ugly. It returns a boolean already; if you want to negate it, rather use #{not repeatStatus.last}
.