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.
Update a binding Datatable with poll
-
- Posts: 2
- Joined: 11 Oct 2011, 06:39
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.
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.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 62 guests