[
https://issues.apache.org/jira/browse/MYFACES-4222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16435526#comment-16435526
]
Paul Nicolucci commented on MYFACES-4222:
-----------------------------------------
Sorry just getting back to this, this morning. Upon a bit further investigation
it looks to be only an issue when the step is updated after the initial request
is made. I've updated the problem description.
> MYFACES-4203 regresses ui:repeat with model and a step other than 1
> -------------------------------------------------------------------
>
> Key: MYFACES-4222
> URL: https://issues.apache.org/jira/browse/MYFACES-4222
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-372
> Affects Versions: 2.3.0
> Reporter: Paul Nicolucci
> Assignee: Paul Nicolucci
> Priority: Major
> Fix For: 2.3.1
>
> Attachments: patch_4222_tests.diff
>
>
> For instance something like this would fail to work correctly if the step
> were 2 it seems the step will always be 1. The initial page works as step is
> initialized to 1 in the backing bean. However if you update the step to two
> and submit the page it is still 1.
> {code:java}
> step: <h:inputText id="stepInput" value="#{iterationBean.step}"/>
> <p/>
> <h:panelGroup id="panel1">
> <ui:repeat value="#{iterationBean.testList}" var="x"
> begin="#{iterationBean.begin}" end="#{iterationBean.end}"
> step="#{iterationBean.step}">
> #{x}
> </ui:repeat>
> </h:panelGroup>
> <p/>
> <h:commandButton id="button1" value="Test">
> <f:ajax execute="@all" render="panel1" />
> </h:commandButton>
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)