I have the following table in a dialog with a p:commandLink
, which when clicked must update the value of the variable encab_idadmision
, taken from admv.idadmision
.
Already review and admv.idadmision
has the value, however encab_idadmision
, is not updated.
What am I doing wrong?
<p:dataTable id="dt_buscar_adm" var="admv" value="#{b_ventas.l_bus_adm_tbl}" paginator="true" rows="10" styleClass="paginated">
<p:column style="width: 30px">
<p:commandLink update="fventas:head_nro_atencion" oncomplete="PF('pac_admitidos').hide();" styleClass="ui-icon ui-icon-search" style="float:left;margin-right:10px" title="View">
<f:setPropertyActionListener value="#{admv.idadmision}" target="#{b_ventas.encab_idadmision}" />
</p:commandLink>
</p:column>