Datatable Lazy Loading with single selection on large set

UI Components for JSF
Post Reply
gauravbagga
Posts: 2
Joined: 08 Jun 2010, 13:36

08 Jun 2010, 17:50

Hi, all

I have implemented the example given in showcase for lazy loading with single selection.
Everything is working fine except the cases where I have LazyDataModel<Car>(100000000).

The problem is when I go to last page for above value and make selections the browser hangs.
In IE8 and Firefox 3.x it gives error as unresponsive script do you want to continue or stop.

If I reduce that number to 1000 everything works fine.
With 10000 the response is there but things get sluggish.
With 100000 the error starts to appear.

With 1000 application seems to work fine, I can select data and I get it in the backing bean.

I am just wondering is there limitation to data set when both lazy loading and single selection is applied?

Thanks in advance.
Gaurav
JSF 2.0.2 Mojarra
Tomcat 7.0.23
Primefaces 3.4

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

09 Jun 2010, 11:03

Selection is not supported yet in lazy data.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 27 guests