UIRepeat offset and size problem
--------------------------------

                 Key: MYFACES-3183
                 URL: https://issues.apache.org/jira/browse/MYFACES-3183
             Project: MyFaces Core
          Issue Type: Bug
          Components: Archetype
    Affects Versions: 2.1.1
            Reporter: Ricard Moré


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).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to