Revision history [back]

click to hide/show revision 1
initial version

answered 2010-09-21 10:01:30 +0800

robertpic71 gravatar image robertpic71

To complete this thread:

There some reference how to handle this request:

1.) Smalltalk about Handling huge data using ZK This example handles the paging event itself (like Cary's approach).

  • Grow/List is always small and contains only one page of data
  • you need extra code to manage the paging -events

2.) Use own Listmodels like the zksample2 project (by terrytornado and bbruhns) Here is the utilclass PagedBindingListWrapper

And here is the use of this class: ArticleListCtrl

  • extra coding is reduced to the minium
  • most zk versions create dummy objects for all objects i.e. the data contains i.e. 1 Mio row, ZK prepare 1 Mio (listbox/grid) empty entries [1] (-) some people would prefer JPA objects instead of hibernate

[1] The enterprise edition (ZK 5) should be smarter (not tested, i've only read the changes) and creates only required list/rowitems

However, is should be possisble to handle this request with common util classes.

/Robert

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More