Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.1.1
-
None
-
None
Description
I have found a problem with parameters offset and size of ui:repeat tag.
offset sets the first index of the list to iterate over.
size is the number of element to iterate.
If you set a offset value greater than size you get an Exception:
javax.faces.FacesException: iteration offset cannot be greater than collection size
But it should be possible to iterate over last two elements of a 102 elements list starting from index 100, for example (offset=100,size=1).
Attachments
Issue Links
- duplicates
-
MYFACES-3034 ui:repeat offset and size performs incorrect validation
- Closed