• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Generic DataTable question

 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am sure many people are aware of the pageable dataTable examples that are out there that load only 1 page of data at a time, most notably the myfaces-cars example found here.
http://wiki.apache.org/myfaces/WorkingWithLargeTables

My question is, what is a real-world guideline to use when deciding if your dataset is large enough to warrant going to the extra effort to implement this type of dataModel? Is it just an all-around-good-idea to implement this every time regardless of size? If so, does anyone know of any other alternatives to the myfaces-cars example that are less complex? Thanks for any help.
 
Ranch Hand
Posts: 464
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I prefer to use a pager with lists. It is a lot cleaner for the user to see only a few items at a time.

Personally I use a custom component to do paging on UIData components. I provide a drop down to allow the user to select how many results per page to show (e.g. 10, 20, all).
 
reply
    Bookmark Topic Watch Topic
  • New Topic