File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Cant get my datatable to update [PRIMEFACES] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Cant get my datatable to update [PRIMEFACES]" Watch "Cant get my datatable to update [PRIMEFACES]" New topic

Cant get my datatable to update [PRIMEFACES]

Andre Froes

Joined: Oct 13, 2010
Posts: 18
I'm not managing to make a refresh in my datatable by commandbutton:

in this last dialog, when i click the commandbutton, it makes what I ask it for, everything is working perfect, but the datatable dtHistorico is not updating, it updates only when i trigger the button "Atualizar Histórico", then I can see the last entry there.

can soneone help me with this issue?
Brendan Healey
Ranch Hand

Joined: May 12, 2009
Posts: 218
You have nested forms - this is not allowed. Put everything in the same form. [edit]: the
dialog CAN be in it's own form. Otherwise don't do it.

I agree. Here's the link:
subject: Cant get my datatable to update [PRIMEFACES]
It's not a secret anymore!