[richfaces-issues] [JBoss JIRA] (RF-13515) rich:dataScroller doesn't rerender after page is changed

Brian Leathem (JIRA) issues at jboss.org
Mon Jan 27 11:39:28 EST 2014


     [ https://issues.jboss.org/browse/RF-13515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem updated RF-13515:
-------------------------------

    Fix Version/s: 5-Tracking

    
> 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: 4.3.5, 5.0.0.Alpha2
>            Reporter: Michal Petrov
>             Fix For: 5-Tracking
>
>
> 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


More information about the richfaces-issues mailing list