This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cant get my datatable to update [PRIMEFACES]

 
Andre Froes
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Regards,
Brendan.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic