3
I’m trying to count how many items there are in one ArrayList
, I already have something ready:
private int quantidadeN = listaNotificacaos.size();
It should store the quantity within the variable quantidadeN
, but when I play on the page it brings a result 0.
On the page I’m calling with this code:
#{notificacaoControle.quantidadeN}
Can someone help me?
Already put a breakpoint to see what the value of
listaNotificacaos.size()
?– Marconi
I played right into Front End #{notifiedControl.Notificacoes.size()} and it worked. Thanks.
– Leandro Santos