Refresh to a datatable

Asked

Viewed 27 times

0

That’s how I’m making a small site in java only when I add a product and click to list the datatable does not update, I don’t know how and I have to do so so that every time the page is displayed update the Array.

Another thing that happens to me is that when I add a product the fields are not clean.

Images (1 added later was list and as you see does not appear the carrot)

Insert

inserir a descrição da imagem aqui

List

inserir a descrição da imagem aqui

  • What are you using? Only JSP? Spring?

  • I’m using spring with primefaces

1 answer

0

Already solved I put all the class in spring or so

<bean id="Verificarsessao" class="service.Verificarsessao"></bean>

What made it preload everything I don’t know if I’m right or not but solved the problem

Browser other questions tagged

You are not signed in. Login or sign up in order to post.