DataTable lazy loading

UI Components for JSF
Post Reply
User avatar
Gedzis
Posts: 9
Joined: 02 Aug 2010, 09:09
Location: Lithuania
Contact:

04 Aug 2010, 12:04

I have lazy loaded dataTable and i need to add aditional column wich check boxes (enable multiple selection) and actions column (is used for placing link to entities edit page). When dataTable is loaded first time everything works perfect, but after pagination click i get an error: Data error[./b].

If only column with check boxes is used, then after pagination click, checkbox is converted to inputBox

Code: Select all

<input id="resultForm:datatable:9:checkbox" name="resultForm:datatable:9:checkbox" type="checkbox">

becomes

Code: Select all

<input>
I am thinking, that this is dataTable rendering issue. It is posible to solve this issue or crate another way for selecting multiple rows in dataTable?

I am using Seam 2.2.0.GA, JSF 1.2_13, jboss 4.2.2.GA, PrimeFaces 1.1

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

05 Aug 2010, 12:18

Lazy datatable has a limitation regarding selecting the data, we'll fix this along with lots of new features in new datatable of 2.2. For now you might use a non-lazy one and switch to lazy with 2.2.

User avatar
Gedzis
Posts: 9
Joined: 02 Aug 2010, 09:09
Location: Lithuania
Contact:

05 Aug 2010, 14:14

As I understand PrimeFaces 2.2 is for JSF 2? I what to ask, if there would be any modifications for JSF 1 components?

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

08 Aug 2010, 10:57

Yes PrimeFaces 2.x is for JSF 2.0 and PrimeFaces 1.x was for JSF 1.2.

1.1 was the last release of 1.x and we've dropped support for JSF 1.2 with last release.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 22 guests