Currently, the VDL docs say this for ui:repeat "size" attribute:
"Read-write property setting the size of the collection to iterate. If this value is less than the actual size of the collection, a FacesException must be thrown."
However, the purpose of the size attribute is to specify the number of elements or items to iterate over in the overall collection. So, for example:
- overall collection size = 10
- u:repeat size="5"
should iterate over the first 5 items of the collection.