myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dora Rajappan (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-4131) <ui:repeat/> begin and end do not look to be implemented / working
Date Thu, 17 Aug 2017 09:55:00 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-4131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16130165#comment-16130165
] 

Dora Rajappan commented on MYFACES-4131:
----------------------------------------

Thanks Eduardo for committing the patch.

> <ui:repeat/> begin and end do not look to be implemented / working
> ------------------------------------------------------------------
>
>                 Key: MYFACES-4131
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4131
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-372
>    Affects Versions: 2.3.0-beta
>            Reporter: Paul Nicolucci
>             Fix For: 2.3.0
>
>         Attachments: MYFACES-4131-WITH-TEST.patch
>
>
> I started to test the <ui:repeat/> constraint feature of JSF 2.3 and it does not
look to function on MyFaces. 
> The changes required are for the following JSF 2.3 spec issue : https://github.com/javaee/javaserverfaces-spec/issues/1102
> According to the spec the <ui:repeat/> tag will now have begin and end attributes.
For instance:
> <ui:repeat value="#{bean.testList}" var="x" begin="0" end="9" step="1">
>                 #{x}
> </ui:repeat>
> In the above example if testList had 10 items in it each entry containing a number 0-9
then we would expect the following output:
> 0123456789
> If we changed it to:
> <ui:repeat value="#{bean.testList}" var="x" begin="5" end="9" step="1">
>                 #{x}
> </ui:repeat>
> We would expect the following output:
> 56789



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message