Time to give update - JSF

0

Talk to the galley blz?

Is there any way I can give an update to some component after a few seconds?

I was able to do this natively using the "p: remoteCommand"

    
asked by anonymous 15.12.2016 / 19:36

1 answer

0

You can use the p: firstfaces pool.

<p:poll interval="60" listener="#{meuBean.funcao}"
            update="idDaTabelaFormEtc" />

the interval defines the seconds.

    
15.12.2016 / 20:30