Michal Petrov created RF-13515:
----------------------------------
Summary: rich:dataScroller doesn't rerender after page is changed
Key: RF-13515
URL: https://issues.jboss.org/browse/RF-13515
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 5.0.0.Alpha2, 4.3.5
Reporter: Michal Petrov
Working example:
{code}
<h:form>
<a4j:outputPanel>
<a4j:repeat id="repeat" rows="3" value="#{bean.list}" var="i">
<rich:panel>
<h:outputText value="#{i}" />
</rich:panel>
</a4j:repeat>
</a4j:outputPanel>
<rich:dataScroller id="ds" for="repeat" page="#{bean.page}" render="@form"
/>
<a4j:commandButton value="Click" execute="@this" render="@form"
actionListener="#{bean.setPage(2)}" />
</h:form>
{code}
{{bean.list}} has more than three items, {{bean.page}} is initially 1
*Expected behavior*: clicking the button shows the second page
*Observed behavior*: the correct page is selected on the datascroller, the
repeat still shows the the first page
The expected behavior can be achieved if:
* the {{<a4j:outputPanel>}} is removed (substituting it for something else
doesn't work)
* the {{<rich:datascroller>}} is put before the {{<a4j:repeat>}}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues