How to update a h: form every 30 seconds JAVA WEB

0

I'm trying to create a dashboard showing the sellers' results on a big screen in my company.

I need to timer the panel every 30 seconds so the results are always up to date.

I have no idea how to do it, all help is welcome.

    
asked by anonymous 26.08.2016 / 16:03

1 answer

1

Try this Brother?

<h:form id="formulario">
    <p:poll interval="3" listener="#{bean.atualizaForm}" update="formulario" />
    ...

</h:form>
    
26.08.2016 / 16:41