This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "DataTable with DataScroller issue" Watch "DataTable with DataScroller issue" New topic
Author

DataTable with DataScroller issue

sundaresan ganapathy
Greenhorn

Joined: Oct 08, 2008
Posts: 23
Hi all,
I have a page with <h:selectOneMenu>,<t:dataTable> and
<t:dataScroller>.
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:
1.select 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?

regards,
sundar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DataTable with DataScroller issue
 
Similar Threads
component execution order
How to auto-render a GUI using Ajax
Datascroller buttons disappear
Session scoped bean's listener invoked before request scoped bean's set method
selectOneMenu ValueChangeListener not Firing