Questions tagged [datascroller]

Use this tag for questions related to dataScroller, a scroller for UIData components

Quoting Apache's page:

Scroller for UIData components eg. dataTable Must be nested inside footer facet of dataTable OR for attribute must be given so that corresponding uiData can be found. Unless otherwise specified, all attributes accept static values or EL expressions. A component which works together with a UIData component to allow a user to view a large list of data one "page" at a time, and navigate between pages.

is usually used along with the , so think about whether you should use it or not.

37 questions
6
votes
3 answers

CommandLink not Working on a Lazy Loaded Primefaces Datascroller

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…
Etienne Dufresne
  • 401
  • 5
  • 11
3
votes
2 answers

Reloading a on a form update

Random Thought: I am hating this "lone wolf" behavior they coded into the dataScroller.... I am trying to implement a filter based on the user choice on a that would reload the contents shown in a from the…
Mindwin Remember Monica
  • 1,469
  • 2
  • 20
  • 35
3
votes
0 answers

Primefaces DataScroller

I want to use Primefaces datascroller with lazy loading.I have a problem about lazy loading.I noticed that Datascroller called load method twice.However,When I change p:datascroller with p:datatable,Lazy Loading works very well.Please help me,what…
caglarturkurka
  • 116
  • 1
  • 9
3
votes
0 answers

output panel won't update inside dataScroller

I have a simple example (more or less from prime faces demo site) where a selectCheckboxMenu and an outputPanel is nested inside a dataScroller (see code snippet below). When a city is selected from selectCheckboxMenu then the outputPanel shoud…
patch
  • 31
  • 3
2
votes
1 answer

Primefaces dataScroller with dynamic id for child component

I'm trying to enhance a portion of code in my application. I'm currently listing a set of comments with a code like this: ... ... …
2
votes
2 answers

Find DataScroller current page

I'm using a dataTable with a dataScroller. I've added the 'Page' atribute to my dataScroller and put getter and Setters in the bean. How can I check the current page a user is on in the bean? Do I have to manually maintain the backing bean value…
Thomas Buckley
  • 5,836
  • 19
  • 62
  • 110
2
votes
1 answer

added data in p:dataScroller lost Javascript function

I am using p:dataScroller with 10 chunk Size, but on my content of each item, I am adding one class, it have a click event function, when I load the page, my function event only works with the 10 first items, this is my code
2
votes
1 answer

Action of p:commandButton inside p:dataScroller only invoked on first button

Inside a p:dataScroller I got a form with an inputTextarea and a commandButton:
acidowl
  • 103
  • 1
  • 10
1
vote
0 answers

Executing all datatable rows when using rich:dataScroller

I'm facing this problem when using Richfaces 4.x... what I have is a datatable in edit mode so where the user can insert data using textboxes or radioButtons. The table needs to have a maximun of 10 rows per page reason why I also use a…
Pablo
  • 3,433
  • 7
  • 44
  • 62
1
vote
1 answer

JSF2 Myfaces tomahawk datascroller with f:ajax

Is it possible to have t:datascroller work with f:ajax ? When I put a f:ajax tag inside a datascroller, the datascroller doesn't work anymore. Maybe it is because I set the actionListener of the datascroller (not "action")... but when I set action,…
boblemar
  • 1,143
  • 1
  • 10
  • 24
1
vote
2 answers

Datascroller and sortOrder on rich:extendedDataTable

I had a problem on a Jsf page. The datascroller didn't change pagination of the dataTable clicking on a number of page (still stay on the first page of the pagination). Richfaces : 3.3.2.SR1 Jsf : 1.2 JBoss 5.0.1 This code doesn't change the…
Jean-Charles
  • 1,690
  • 17
  • 28
1
vote
1 answer

Switch CSS of a rich:datascroller

I wanna switch the styles the datascroller uses to shows the selected page. Is it possible?
Gondim
  • 3,038
  • 8
  • 44
  • 62
1
vote
0 answers

p:dataScroller works only for the last element

I am trying to use dataScroller to show elements of a database table. It shows all the elements correctly but when I try to use some actions it only works for the last element like:
Yuri Amel
  • 29
  • 1
  • 6
1
vote
0 answers

reloading automatically on entity edits

I have a p:datascroller configured to display a list of entities and lazy loading them upon clicking the more button.
DaKermit
  • 11
  • 1
1
vote
1 answer

Keeping current JSF pagination state when going to another page and coming back to the page that contains the paginator

I'm using the Tomahawk t:dataScroller for pagination. It is working really well. There is only one issue that I'll try to explain: Page A contains the t:dataTable, which is paginated with the t:dataScroller. There are links in the dataTable that can…
1
2 3