jsr372-experts@javaserverfaces-spec-public.java.net

[jsr372-experts] Re: JAVASERVERFACES_SPEC_PUBLIC-1102

From: arjan tijms <arjan.tijms_at_gmail.com>
Date: Thu, 4 Feb 2016 14:06:01 +0100

Indeed, the difference is that ui:repeat with offset/size absolutely needs
a backing datamodel, while in some cases you just want to say with a render
time component:

repeat the body 10 times without any notion of a datamodel involved.



On Thu, Feb 4, 2016 at 1:19 PM, Bauke Scholtz <balusc_at_gmail.com> wrote:

> Hi,
>
> https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1102
>
> I think this is incorrectly closed. The ui:repeat offset/size does
> definitely not have the same behavior as c:forEach begin/end. The ui:repeat
> still checks the DataModel#isRowAvailable() during every iteration. So,
> effectively it won't iterate at all when only offset and size attributes
> are provided.
>
> Any objections if I reopen it?
>
> Cheers, B
>
>
>