Posts by DiegoM • 66 points
2 posts
-
0
votes1
answer202
viewsA: Why does the primefaces dataScroller stop fetching records?
It is necessary to provide the total of results to be paged for the LazyDataModel. As found in the version 3.5 documentation: In addition to load method, totalRowCount needs to be provided so that…
-
5
votes2
answers2948
viewsA: Error: "Cannot make a Static Reference to the non-static method from *"
On the line ps.setString(1, UsuarioModel.getNome()); change to: ps.setString(1, usuarioModel.getNome()); Note that when calling UsuarioModel.getNome(), the U is capitalized, so Java will try to…