Selecting the records on every page of the table when I press the button. Please Help me
selection="#{pprMaterialAuthorizationBean.selectedMaterialList}" rowKey="#{projectMaterial.id}"
value="#{pprMaterialAuthorizationBean.materialList}" >
<p:column headerText="#{lang.labelMaterial}" filterBy="#{lang[projectMaterial.materialLangPrm]}" sortBy="#{lang[projectMaterial.materialLangPrm]}" width="40%">
<h:outputText value="#{lang[projectMaterial.materialLangPrm]}" />
</p:column>
<p:ajax event="toggleSelect" listener="#{pprMaterialAuthorizationBean.onToggleSelect}" update=":form1 :msgs"/>
<p:column id="columnId" selectionMode="multiple" width="40%"/>
</p:dataTable>
Aucun commentaire:
Enregistrer un commentaire