• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

DataTable with DataScroller issue

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic