Multiple row selection issue

UI Components for JSF
Post Reply
anniehavile
Posts: 5
Joined: 24 Nov 2011, 18:52

24 Nov 2011, 19:37

Hi all,

When using attribute "selectionMode=multiple" in datatable, I got a problem. I didn't use it along with attribute "selection" for the action listener, and it caused error. When navigating to another page, datatable's contents weren't reloaded. For example, I click in page 2, the paginator seems to be in state of page 2 but the rows are still the same as in page 1. If I remove attribute "selectionMode=multiple", pagination is ok again.

What I want is just to select multi-rows and click another command button for performing action (such as delete, mass edit etc. ...). Could you give me an advice on this ? My Primefaces' version is 2.2.1.

Thanks.

smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

25 Nov 2011, 05:44

Copy/paste your xhtml/facelet and bean logic, please. please use the Code button above the Post A Reply editor to embed your code, which places your code in an iframe with scroll bar.
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 50 guests