Posts by Tiago • 336 points
7 posts
-
0
votes1
answer76
viewsA: commandLink does not link to the screen
So what I saw missing was the redirect public class UsuarioBean { private Usuario usuario = new Usuario(); private String confirmarSenha; public String novo() { this.usuario = new Usuario();…
-
2
votes1
answer1027
viewsA: Fill select return ZIP code web service
I think it is unnecessary to have a table only for states, an Enum would solve, after all there are 26 states and a federal district = 27 objects. (It’s just an opinion) This is a way to solve…
-
1
votes1
answer126
viewsA: Error in JSF converter
Try it this way converter="#{projetoConverter}"
-
1
votes3
answers303
viewsA: JSF - Selecting Item from a Set
Datatable is what most use http://www.primefaces.org/showcase/ui/data/datatable/edit.xhtml
-
8
votes1
answer2978
viewsA: Pagination with large amount of data
I had this problem, I solved it with the tip from algaworks: public List<Produto> filtrados(FiltroProduto filtro) { Criteria criteria = criarCriteriaParaFiltro(filtro);…
-
0
votes3
answers1762
viewsA: Recover logged in user
To enter something in the bank at the time the user authenticates, I do it directly in my service class. @Transactional public Usuario verificaLoginSenha(String email, String senha) { Usuario…
-
2
votes3
answers5090
viewsA: How to make eclipse auto-complete code automatically without pressing Ctrl+space?
Auto Activation triggers for Java for "abcdefghijklmnopqrstuvxwyz."…