I need to count how many statuses are equal to '1'. I used this to count how many objects I had on the list and it worked. Now I can not count only those with status equal to 1.
<h:outputText value="#{fn:length(cur.listaProdutosManutencao)}" />
This is what I used and it worked.
I tried this below to get the status and it did not work:
<h:outputText value="#{fn:length(cur.listaProdutosManutencao.status eq '1')}" />
I tried this one too, and it did not work:
<h:outputText value="#{fn:join(cur.listaProdutosManutencao.status, '1')}"
Can anyone help me? I would like to follow the first one I did.