File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes DataTable with DataScroller issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "DataTable with DataScroller issue" Watch "DataTable with DataScroller issue" New topic

DataTable with DataScroller issue

sundaresan ganapathy

Joined: Oct 08, 2008
Posts: 23
Hi all,
I have a page with <h:selectOneMenu>,<t:dataTable> and
The <t:dataTable> is bound to a list which will be populated
using the valuechangeListener in the <h:selectOneMenu>

The issue i am facing is datatable is not rendering the list whenever
click on data scroller next page.But the list is not empty.

Steps to reproduce the issue: a option from drop down,this option will fetch records
from DB and populate the list(DataTable) using valueChangeListener

2.As there is more than 10 records in list the datascroller will be rendered for dataTable,now i click on next link to see the next set of records in the dataTable .
3. now select different option from the selectOneMenu this gets the records for the dataTable,but the dataTable is not rendering any records,even though there is a list with records.
This happens only i click the dataScroller,otherwise dataTable works fine

How to fix this issue?

I agree. Here's the link:
subject: DataTable with DataScroller issue
jQuery in Action, 3rd edition