Regress from 2.2.1 via 2.1 on datatable single selection

UI Components for JSF
Post Reply
jcpearce
Posts: 14
Joined: 29 Nov 2010, 04:26

24 Feb 2011, 19:23

Using Netbeans 6.9.1 with 2.1 a DataTable using a selectionMode="Single" the code works perfectly. In 2.2.1 When setting an object with selecton="#{...}"
It will throw a numberFormatException.

Also in 2.2.1 It allows multiple selection of rows even though it is specified as "single"

Any one seen this before?

[#|2011-02-24T12:10:50.081-0500|WARNING|glassfish3.0.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=29;_ThreadName=Thread-1;|For input string: "undefined#0,undefined#2,undefined#3,undefined#4"
java.lang.NumberFormatException: For input string: "undefined#0,undefined#2,undefined#3,undefined#4"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:449)
at java.lang.Integer.parseInt(Integer.java:499)
at org.primefaces.component.datatable.DataHelper.decodeSingleSelection(DataHelper.java:247)
at org.primefaces.component.datatable.DataHelper.decodeSelection(DataHelper.java:208)
at org.primefaces.component.datatable.DataTableRenderer.decode(DataTableRenderer.java:47)
at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:790)
at javax.faces.component.UIData.processDecodes(UIData.java:980)

davti
Posts: 9
Joined: 27 Feb 2010, 01:37

07 Mar 2011, 11:43

I'm seeing this issue as well, it only appears to be occurring in the Google Chrome browser, clearing the cache on IE/FF seemed to resolve the issue on those browsers...

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 23 guests