myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <>
Subject [jira] [Resolved] (MYFACES-3773) ui:repeat with offset and size does not behave as expected
Date Sat, 14 Sep 2013 20:33:52 GMT


Leonardo Uribe resolved MYFACES-3773.

       Resolution: Fixed
    Fix Version/s: 2.1.13
> ui:repeat with offset and size does not behave as expected
> ----------------------------------------------------------
>                 Key: MYFACES-3773
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314, JSR-344
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.19, 2.2.0, 2.1.13
> Looking for minor issues in JSF spec I found this one:
> VDL Docs Need Correction/Clarification For ui:repeat size Attribute
> "... 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.
> ..."
> This issue was fixed in Mojarra as:
> but we have been struggling on this for a long time too. See:
> The current behavior for 2.0.x and 2.1.x is the same as Mojarra before fix JAVASERVERFACES-2425,
but in practice we need to fix this one for all branches. The current behavior is clearly
inconsistent and if it was fixed in Mojarra, in this case we should do the same too.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message