Description
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.
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>
Or removing ajax:
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>
Attachments
Attachments
Issue Links
- is broken by
-
MYFACES-4203 UIRepeat begin+end doesn't work correctly
- Resolved