Questions tagged as 'jsf'

1
answer

Fill in select web service return from CEP

I am using the viacep site example so when the user enters the zip code, the other address data is filled in, but I would like the state through a select to be filled in automatically. The example shows it being filled in an input. link...
asked by 05.05.2016 / 16:30
1
answer

How to generate compiled classes and keep .java in maven?

Everyone when I do maven install it compiles classes and generates xxx.class, so far so good. I would like to know if it is possible to generate the .class and also keep all the .java, in the application I am doing I will need to show the page a...
asked by 23.09.2016 / 14:42
1
answer

My List is not updated correctly with bank data

I have a dataTable and a button that selects the object on each line of dataTable . When I click this button a Dialog is opened with some data and a Send button, when I click on that button, the selected line is edited in the...
asked by 26.06.2015 / 13:29
1
answer

I can not connect Jpa with PostgreSql at all

I'm trying to connect to postgresql , however, without success. My application will be a jsf application and so I'm using persistence. <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.0" xmlns="http://java.sun.com...
asked by 15.04.2014 / 03:56
1
answer

Method not found using JPA

I've created a method for autocomplete. But when I am going to invoke this method the same is not found, it follows error: Advertência: /pessoal/cadastrar.xhtml @35,186 completeMethod="#{pessoalController.lookupFornecedores}": Method not...
asked by 12.05.2014 / 20:37
2
answers

Hibernate Validator @CPF that can be null

I am using Hibernate Validator with the @CPF annotation. It is validating beauty, the problem is that my system may have the invalid CPF field (null) and Hibernate does not accept this. I put the field with @Collumn (nullable = true) but...
asked by 02.04.2016 / 07:07
1
answer

SelectOneMenu is not sending the parameter to the Bean (Validation Error)

In XHTML, my SelectOneMenu is giving validation error at the time of Issue: <p:selectOneMenu value="#{relatorioProdutosLogsBean.usuarioSelecionado}"> <f:selectItem itemLabel="Selecione" itemValue=""...
asked by 06.10.2015 / 03:26
1
answer

doubts about Regex using Primefaces

I have an input , where when a name is typed in the ex: João Da Silva field, > Regex . In this case, this field must be case sensitive. Now when I put space it does not save. Follow the code: <p:outputLabel value="Nome" for="nome" /...
asked by 20.03.2017 / 20:11
1
answer

How popular a p: datatable with a List that contains two List attributes inside?

I spent all day today trying to do something that is supposed to be simple but I could not. It's the following, I'm using the primefaces and I'm new to it yet and I need somehow my <p:datatable> popular with a list of objects. Goodb...
asked by 16.10.2016 / 05:51
3
answers

How to create tables when starting Sisitema with JSF and JPA?

Well, how do I get the system started when the tables are created automatically? The way my system is, tables are only created when some kind of bank access is done. For example in the login screen just press the button log that the tables are c...
asked by 11.10.2016 / 15:11