Time to update - JSF

Asked

Viewed 42 times

0

Fala ae galera blz?

Is there any native way I can update some component after a few seconds?

I was able to do it natively using "p:remoteCommand"

1 answer

0


you can use the p:pool of the primefaces.

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

interval defines the seconds.

  • Dude pasta, it worked tbm :D

  • haha, I’ve answered this same question 3 times here :P the showcase of the first faces is not very effective. Hug!

  • put face worse than is true.. thanks. Hug tbm bro

Browser other questions tagged

You are not signed in. Login or sign up in order to post.