rendered="#{bill.paidDate == null and billListView.showPayButtons}"
action="#{billListView.markPaid()}"
value="#{i18n['bill.markPaid']}"/>
<h:outputTextrendered="#{bill.paidDate != null}"
value="#{i18n['bill.isPaid']}"/>
<h:outputText
rendered="#{bill.paidDate == null and !billListView.showPayButtons}"
value="#{i18n['bill.isNotPaid']}"/>
<p:commandButtonupdate="billList"onerror="location.reload(true)"rendered="#{bill.paidDate == null and billListView.showPayButtons}"action="#{billListView.markPaid()}"value="#{i18n['bill.markPaid']}"/>