<h:commandButtonrendered="#{bill.paidDate == null and billListView.showPayButtons}"action="#{billListView.markPaid()}"value="#{i18n['bill.markPaid']}">
<p:commandButtononerror="location.reload(true)"rendered="#{bill.paidDate == null and billListView.showPayButtons}"action="#{billListView.markPaid()}"value="#{i18n['bill.markPaid']}"/>