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

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

One difference I notice while implemeting this is if offset + size is used with 
UI repeat it.(offset 0, size 10). It will print 0..9. While begin + end is used 
with UIRepeat (begin 0, end 9 )It will print 0..9. (According to Paul). So 
begin end prints including begin and  end. 

> <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
>         Attachments: MYFACES-4131.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)

Reply via email to