Page updating automatically, JSF

Asked

Viewed 361 times

0

I have a method called by a Poll, it is called every 20 seconds but it takes about 1 minute to finish running. So far so good, but I need my jsf screen updated every 10-15 seconds, without having to wait for my 1 minute method to end.

In short:

I need my page to update while a method called by a Poll is running.

That’s possible?

  • this method brings information to some component?

  • You can use the <meta http-equiv="refresh" content="20" /> Ai every 20 seconds it gives an F5 in the page....

  • Yes Rafael, I have a datatable that has a list of objects that are updated in the method

  • Gustavo, I tried to use the Metta tag refresh and it didn’t work...

No answers

Browser other questions tagged

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