Update a binding Datatable with poll

UI Components for JSF
Post Reply
emilianopessoa
Posts: 2
Joined: 11 Oct 2011, 06:39

11 Oct 2011, 06:59

Hi,

I'm trying to update a dataTable built through a binding every 5 seconds but is not working at all. It only works when the page is rendered for the first time, or when I refresh the page manually (by pressing F5).

<h:form id="myForm">
<p:dataTable binding="#{backBean.gridBinding}" id="grid" />
<p:poll action="#{backBean.updateList}" interval="5" update="grid"/>
</h:form>

detail. If I build without using the binding works fine.

Would anyone have any examples or solution for my case?

Thanks.

emilianopessoa
Posts: 2
Joined: 11 Oct 2011, 06:39

12 Oct 2011, 09:46

I found the problem.
This is happening inside the 3.0.M3 3.0.M2 releases. It is Work normally in 3.0.M1 release and earlier.

I hope it works in the stable release.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 62 guests