I have a primeface datatable as follows
<p:dataTable id="associatedProductsTable" var="oap"
value="#{checkoutController.associatedProducts}"
styleClass="cssAssociatedProductsTable">
<p:column>#{oap.product.code}</p:column>
<p:column>
<p:selectBooleanCheckbox value="#{oap.includedInOrder}" />
</p:column>
<p:column>#{oap.productPriceTotal}</p:column>
</p:dataTable>
the productPriceTotal field is 0 as long as selectBooleanCheckbox is unchecked. My desire is to set the value of productPriceTotal when user selects the checkbox value of selectBooleanCheckbox I do not care if this is happening with a postback or dynamically ajax, but no matter how I am doing it I canot get it working.
Thanks