Code: Select all
<p:layoutUnit id="center" position="center">
<h:form style="width: 100%" id="form" prependId="false">
<p:dataTable resizableColumns="true" style="width: 100%" id="user" var="user" value="#{tableBean.user}"
liveScroll="true"
selection="#{tableBean.users}" selectionMode="multiple" >
<p:ajax event="rowSelect" update="seriestable imageSerie" listener="#{tableBean.onRowSelect}"/>