How to update row in dataTable? (Primefaces)

1

Hey guys? Please, can some ninja javeiro help me with this case? I have a dataTable and I need to know how to give an update in a single row after some event, such as a click on a commandButton.

I studied a bit about 'omnifaces' before anyone comments on it here hehe, but unfortunately I could not make it work as in the examples they present, quite the contrary, this gives a refresh on my entire page: p>     

asked by anonymous 03.06.2016 / 20:06

2 answers

1

I have solved the problem! There was no way, it was necessary to use the omnifaces library (link for anyone who wants to see more link ).

Before with omnifaces refresh on my entire page, I apparently solved this problem by including Ids in all my dataTable components and using only components of primefaces ( before I had some JSF components in the middle). Also, of course, I relied on the library sample code.

    
09.06.2016 / 16:19
0

I was in doubt about this update. Is it update in the bank? Or just a screen update?

If it is a screen update, I believe attribute update resolves your issue.

ps: I did not say more about the attribute, because I do not know if this is what you are looking for.

    
03.06.2016 / 20:19