datascroller

Usage of multiple dataTables with a dataScroller each leads to dataScroller malfunction

旧城冷巷雨未停 提交于 2020-01-05 04:17:14
问题 I have a JSF page with three dataTables. Each of them has an associated dataScroller. When viewing the page only the last dataScroller (on the bottom) works. The others only load the page selected on the last dataTable when selecting any page in their own dataScroller. I've debugged the page with Firebug and I found nothing relevant. Neither did I find any thread here or in other forums about how to solve this issue. I post also some code, just in case it could be helpful. Thanks in advance:

RichFaces: How to reset page in datascroller after changes of values in dataTable

我的未来我决定 提交于 2019-12-25 06:47:14
问题 I have rich:datascroller for my rich:dataTable which is working well except that when I am on any page number (let say 5) and do a search operation (or any operation which renders the dataTable). Pagination will still show page 5, but I want it to be reset to 1. page when the operation happens. In this image, when I am going to Page 5 and hit Search again or do a clear and search again, the pagination is still set to Page 5, not back to Page 1. Here's my code snippet: <rich:datascroller id=

t:dataScroller not working correctly on refresh

∥☆過路亽.° 提交于 2019-12-12 02:12:52
问题 I'm using t:dataScroller to scroll some data from a t:dataTable and it is working fine except for one thing: every time an action that causes the screen to be refreshed is triggered the t:dataScroller's index is set to 1. To be more clear: when i'm in the second page (index == 2) and a screen refreshing action triggers, after the refresh, the data of the dataTable is still from index 2 but the dataScroller shows that the page being displayed is the first one. I'm using the dataScroller this

CommandLink not Working on a Lazy Loaded Primefaces Datascroller

送分小仙女□ 提交于 2019-12-04 12:35:33
问题 I'm having an issue with lazy loading a Primefaces Datascroller component. I have a jsf page that should display 10 events on page load. If the user wants to see more he/she can click the more button to load and display the 10 next events. For each of the event rows, there is a link that can be used to display the event's details. <h:form id="mainForm" > <p:dataScroller value="#{backing.lazyModel}" var="event" lazy="true" chunkSize="10" rowIndexVar="index"> #{event.name} <p:commandLink class=

CommandLink not Working on a Lazy Loaded Primefaces Datascroller

走远了吗. 提交于 2019-12-03 08:19:30
I'm having an issue with lazy loading a Primefaces Datascroller component. I have a jsf page that should display 10 events on page load. If the user wants to see more he/she can click the more button to load and display the 10 next events. For each of the event rows, there is a link that can be used to display the event's details. <h:form id="mainForm" > <p:dataScroller value="#{backing.lazyModel}" var="event" lazy="true" chunkSize="10" rowIndexVar="index"> #{event.name} <p:commandLink class="view-trigger" value="View Event Details" actionListener="#{backing.initViewEventDetails(index, event)}