From jira-events at lists.jboss.org Wed May 13 15:57:29 2009 Content-Type: multipart/mixed; boundary="===============3469478912022244055==" MIME-Version: 1.0 From: Denis Petrunin (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Created: (RF-7137) scrollableDataTable selection is empty if items are selecting with CTRL+A Date: Wed, 13 May 2009 15:52:58 -0400 Message-ID: <20322209.1242244378176.JavaMail.jira@cloud.prod.atl2.jboss.com> --===============3469478912022244055== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable scrollableDataTable selection is empty if items are selecting with CTRL+A ------------------------------------------------------------------------- Key: RF-7137 URL: https://jira.jboss.org/jira/browse/RF-7137 Project: RichFaces Issue Type: Bug Components: component-ScrollableDataTable Affects Versions: 3.3.0 Environment: RichFaces 3.3.0GA Reporter: Denis Petrunin 1) open "test.jsf" page (see below) 2) click into rich:scrollableDataTable 3) press CTRL+A to select all items in scrollableDataTable 4) click "GO" button 5) make a note that "Selection" field is empty Expected result: "Selection" field must contain "0; 1;" Selection works right if all items are selecting one by one with CTRL+mouse= click <=3D=3D=3D=3D=3D test.jspx =3D=3D=3D=3D=3D> #{item} <=3D=3D=3D=3D=3D Backing bean =3D=3D=3D=3D=3D> import java.util.Arrays; import java.util.Iterator; import java.util.List; import org.jboss.seam.ScopeType; import org.jboss.seam.annotations.Name; import org.jboss.seam.annotations.Scope; import org.richfaces.model.selection.Selection; import org.richfaces.model.selection.SimpleSelection; @Name("bean") @Scope(ScopeType.SESSION) public class Test { private static final List model =3D Arrays.asList("First", "Sec= ond"); private Selection selection =3D new SimpleSelection(); public List getData() { return model; } public Selection getSelection() { return selection; } public void setSelection(Selection selection) { this.selection =3D selection; } public String getSelectedItems() { System.out.println("getSelectedItems"); StringBuilder sb =3D new StringBuilder(); for (Iterator i =3D selection.getKeys(); i.hasNext();) { sb.append(i.next()).append("; "); } return sb.toString(); } } -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============3469478912022244055==-- From jira-events at lists.jboss.org Wed May 13 19:16:24 2009 Content-Type: multipart/mixed; boundary="===============5796598648883525369==" MIME-Version: 1.0 From: Nick Belaevski (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Updated: (RF-7137) scrollableDataTable selection is empty if items are selecting with CTRL+A Date: Wed, 13 May 2009 19:11:47 -0400 Message-ID: <5359805.1242256307038.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 20322209.1242244378176.JavaMail.jira@cloud.prod.atl2.jboss.com --===============5796598648883525369== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/RF-7137?page=3Dcom.atlassian.jira= .plugin.system.issuetabpanels:all-tabpanel ] Nick Belaevski updated RF-7137: ------------------------------- Fix Version/s: Future Assignee: Konstantin Mishin > scrollableDataTable selection is empty if items are selecting with CTRL+A > ------------------------------------------------------------------------- > > Key: RF-7137 > URL: https://jira.jboss.org/jira/browse/RF-7137 > Project: RichFaces > Issue Type: Bug > Components: component-ScrollableDataTable > Affects Versions: 3.3.0 > Environment: RichFaces 3.3.0GA > Reporter: Denis Petrunin > Assignee: Konstantin Mishin > Fix For: Future > > > 1) open "test.jsf" page (see below) > 2) click into rich:scrollableDataTable > 3) press CTRL+A to select all items in scrollableDataTable > 4) click "GO" button > 5) make a note that "Selection" field is empty > Expected result: "Selection" field must contain "0; 1;" > Selection works right if all items are selecting one by one with CTRL+mou= se click > <=3D=3D=3D=3D=3D test.jspx =3D=3D=3D=3D=3D> > > > xmlns:rich=3D"http://richfaces.org/rich" > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:a4j=3D"http://richfaces.org/a4j"> > > > > > > #{item} > > > > > > > > <=3D=3D=3D=3D=3D Backing bean =3D=3D=3D=3D=3D> > import java.util.Arrays; > import java.util.Iterator; > import java.util.List; > import org.jboss.seam.ScopeType; > import org.jboss.seam.annotations.Name; > import org.jboss.seam.annotations.Scope; > import org.richfaces.model.selection.Selection; > import org.richfaces.model.selection.SimpleSelection; > @Name("bean") > @Scope(ScopeType.SESSION) > public class Test > { > private static final List model =3D Arrays.asList("First", "S= econd"); > private Selection selection =3D new SimpleSelection(); > public List getData() > { > return model; > } > public Selection getSelection() > { > return selection; > } > public void setSelection(Selection selection) > { > this.selection =3D selection; > } > public String getSelectedItems() > { > System.out.println("getSelectedItems"); > StringBuilder sb =3D new StringBuilder(); > for (Iterator i =3D selection.getKeys(); i.hasNext();) { > sb.append(i.next()).append("; "); > } > return sb.toString(); > } > } -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============5796598648883525369==-- From jira-events at lists.jboss.org Sun Feb 21 08:26:10 2010 Content-Type: multipart/mixed; boundary="===============0914755295458001685==" MIME-Version: 1.0 From: Denis Petrunin (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Updated: (RF-7137) scrollableDataTable selection is empty if items are selecting with CTRL+A Date: Sun, 21 Feb 2010 08:26:10 -0500 Message-ID: <1695737964.1266758770702.JavaMail.jboss@jira01.app.mwc.hst.phx2.redhat.com> In-Reply-To: 20322209.1242244378176.JavaMail.jira@cloud.prod.atl2.jboss.com --===============0914755295458001685== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/RF-7137?page=3Dcom.atlassian.jira= .plugin.system.issuetabpanels:all-tabpanel ] Denis Petrunin updated RF-7137: ------------------------------- Environment: = RichFaces 3.3.0.GA / 3.3.3.CR1 Windows XP Firefox 3.5.8 was:RichFaces 3.3.0GA Affects Version/s: 3.3.3.CR1 Issue can be reproduced on 3.3.3.CR1 > scrollableDataTable selection is empty if items are selecting with CTRL+A > ------------------------------------------------------------------------- > > Key: RF-7137 > URL: https://jira.jboss.org/jira/browse/RF-7137 > Project: RichFaces > Issue Type: Bug > Security Level: Public(Everyone can see) = > Components: component-ScrollableDataTable > Affects Versions: 3.3.0, 3.3.3.CR1 > Environment: RichFaces 3.3.0.GA / 3.3.3.CR1 > Windows XP > Firefox 3.5.8 > Reporter: Denis Petrunin > Assignee: Konstantin Mishin > Fix For: Future > > > 1) open "test.jsf" page (see below) > 2) click into rich:scrollableDataTable > 3) press CTRL+A to select all items in scrollableDataTable > 4) click "GO" button > 5) make a note that "Selection" field is empty > Expected result: "Selection" field must contain "0; 1;" > Selection works right if all items are selecting one by one with CTRL+mou= se click > <=3D=3D=3D=3D=3D test.jspx =3D=3D=3D=3D=3D> > > > xmlns:rich=3D"http://richfaces.org/rich" > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:a4j=3D"http://richfaces.org/a4j"> > > > > > > #{item} > > > > > > > > <=3D=3D=3D=3D=3D Backing bean =3D=3D=3D=3D=3D> > import java.util.Arrays; > import java.util.Iterator; > import java.util.List; > import org.jboss.seam.ScopeType; > import org.jboss.seam.annotations.Name; > import org.jboss.seam.annotations.Scope; > import org.richfaces.model.selection.Selection; > import org.richfaces.model.selection.SimpleSelection; > @Name("bean") > @Scope(ScopeType.SESSION) > public class Test > { > private static final List model =3D Arrays.asList("First", "S= econd"); > private Selection selection =3D new SimpleSelection(); > public List getData() > { > return model; > } > public Selection getSelection() > { > return selection; > } > public void setSelection(Selection selection) > { > this.selection =3D selection; > } > public String getSelectedItems() > { > System.out.println("getSelectedItems"); > StringBuilder sb =3D new StringBuilder(); > for (Iterator i =3D selection.getKeys(); i.hasNext();) { > sb.append(i.next()).append("; "); > } > return sb.toString(); > } > } -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============0914755295458001685==-- From jira-events at lists.jboss.org Sat Apr 17 14:52:49 2010 Content-Type: multipart/mixed; boundary="===============8934009615369124527==" MIME-Version: 1.0 From: Denis Petrunin (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Updated: (RF-7137) scrollableDataTable selection is empty if items are selecting with CTRL+A Date: Sat, 17 Apr 2010 14:52:49 -0400 Message-ID: <1426913094.1271530369372.JavaMail.jboss@jira01.app.mwc.hst.phx2.redhat.com> In-Reply-To: 20322209.1242244378176.JavaMail.jira@cloud.prod.atl2.jboss.com --===============8934009615369124527== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/RF-7137?page=3Dcom.atlassian.jira= .plugin.system.issuetabpanels:all-tabpanel ] Denis Petrunin updated RF-7137: ------------------------------- Environment: = RichFaces 3.3.0.GA / 3.3.3.CR1 / 3.3.3.Final Windows XP Firefox 3.5.8 / 3.6.3 IE 6.0 / 8.0 was: RichFaces 3.3.0.GA / 3.3.3.CR1 Windows XP Firefox 3.5.8 Affects Version/s: 3.3.3.Final Issue can be reproduced in RF 3.3.3.Final = > scrollableDataTable selection is empty if items are selecting with CTRL+A > ------------------------------------------------------------------------- > > Key: RF-7137 > URL: https://jira.jboss.org/jira/browse/RF-7137 > Project: RichFaces > Issue Type: Bug > Security Level: Public(Everyone can see) = > Components: component-ScrollableDataTable > Affects Versions: 3.3.0, 3.3.3.CR1, 3.3.3.Final > Environment: RichFaces 3.3.0.GA / 3.3.3.CR1 / 3.3.3.Final > Windows XP > Firefox 3.5.8 / 3.6.3 > IE 6.0 / 8.0 > Reporter: Denis Petrunin > Assignee: Konstantin Mishin > Fix For: Future > > > 1) open "test.jsf" page (see below) > 2) click into rich:scrollableDataTable > 3) press CTRL+A to select all items in scrollableDataTable > 4) click "GO" button > 5) make a note that "Selection" field is empty > Expected result: "Selection" field must contain "0; 1;" > Selection works right if all items are selecting one by one with CTRL+mou= se click > <=3D=3D=3D=3D=3D test.jspx =3D=3D=3D=3D=3D> > > > xmlns:rich=3D"http://richfaces.org/rich" > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:a4j=3D"http://richfaces.org/a4j"> > > > > > > #{item} > > > > > > > > <=3D=3D=3D=3D=3D Backing bean =3D=3D=3D=3D=3D> > import java.util.Arrays; > import java.util.Iterator; > import java.util.List; > import org.jboss.seam.ScopeType; > import org.jboss.seam.annotations.Name; > import org.jboss.seam.annotations.Scope; > import org.richfaces.model.selection.Selection; > import org.richfaces.model.selection.SimpleSelection; > @Name("bean") > @Scope(ScopeType.SESSION) > public class Test > { > private static final List model =3D Arrays.asList("First", "S= econd"); > private Selection selection =3D new SimpleSelection(); > public List getData() > { > return model; > } > public Selection getSelection() > { > return selection; > } > public void setSelection(Selection selection) > { > this.selection =3D selection; > } > public String getSelectedItems() > { > System.out.println("getSelectedItems"); > StringBuilder sb =3D new StringBuilder(); > for (Iterator i =3D selection.getKeys(); i.hasNext();) { > sb.append(i.next()).append("; "); > } > return sb.toString(); > } > } -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============8934009615369124527==--