I have problem with editing datatable with primefaces. I have tested datatableRowSelection example but it did'nt work. when I click on the button edit the dialog is displayed but with empty values. Please Help! here is my code: in: ListingPage.xhtml, I have:
<p:column headerText="Edition">
<p:commandButton update="edition" oncomplete="marqueDialog.show()" image="ui-icon ui-icon-pencil">
<f:setPropertyActionListener value="#{item}"
target="#{marqueController.selected}" />
</p:commandButton>
</p:column>
width="400" height="500" showEffect="explode" hideEffect="explode" modal="true" >
<h:panelGrid id="edition" columns="2" cellpadding="4">
</h:panelGrid>
</p:dialog>