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

Paul Nicolucci edited comment on MYFACES-4222 at 4/12/18 5:59 PM:
------------------------------------------------------------------

Thanks, I'll test this locally and if it works I'll commit the changes. Thanks 
to Paulo for the patch!


was (Author: paul.nicolucci):
Thanks, I'll test this locally and if it works I'll commit the changes this 
evening. Thanks for Paulo for the patch!

> MYFACES-4203 regresses ui:repeat , can't update the step
> --------------------------------------------------------
>
>                 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: MYFACES-4222-withtests.patch, MYFACES-4222.patch, 
> 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}
> Or removing ajax:
> {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">
>         </h:commandButton>
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to