Bug in p:datatable

UI Components for JSF
Post Reply
Posts: 20
Joined: 08 Nov 2010, 11:02

31 Aug 2011, 10:41


This only happens in Firefox(5.0.1) and Opera(11.01) with both primefaces 2.2.1 and primefaces 3.0.M3. I don't have this problem in IE8 and Chrome 13.

I'm trying to reset a form that includes a p:datatable with checkboxes, like in the showcase: http://www.primefaces.org/showcase/ui/d ... eckbox.jsf

If you first select all checkboxes in the lower table and click view you can see that all items are included. However if you reset the form, for example with this javascript, just close the popup and put it in the browser bar: javascript:document.getElementById("j_idt44").reset();

After you ran that you will notice that all checkboxes have been unchecked, as it should, but if you click on view it will still show all items as selected.

Is this a bug? Any workarounds?


Posts: 20
Joined: 08 Nov 2010, 11:02

01 Sep 2011, 10:26

Should i post a bug report?

Posts: 18045
Joined: 05 Jan 2009, 00:21
Location: Cybertron

05 Sep 2011, 09:56

You also need to call datatableWidget.clearSelection()

Posts: 20
Joined: 08 Nov 2010, 11:02

05 Sep 2011, 10:16


Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 11 guests