Questions tagged as 'jsf'

0
answers

could not execute statement

I'm using JAVAJPA, Wildfly and PrimeFaces, when I try to save in the database it gives me this error: "could not execute statement". Can someone help me? This is my MB: package br.com.sicoob.ManagedBeans ; import java.io.Serializable; impo...
asked by 16.08.2016 / 22:02
1
answer

Bootstrap interfering ImageAreaSelect (Primefaces)

I'm using the component, from the Extesions primefaces, called ImageAreaSelect. Primefaces Extesion - ImageAreaSelect But this Bootstrap TAG is causing ImageAreaSelect's background to be disproportionate. * { -webkit-box-sizing: bord...
asked by 10.08.2016 / 15:31
1
answer

Slow first access to newly hosted site

Good afternoon! I'm starting to practice my studies with Web development and when hosting and uploading a website in JSF with Spring and Hibernate, the first access is quite slow. After you access it, the handling is very fast. This delay...
asked by 14.07.2016 / 17:06
1
answer

How to delete objects within a List?

In this project I'm using JSF, PrimeFaces and I'm still new in programming .. the list screen is displaying information according to the bank I just wanted to delete these fields that appear on the list screen when selected through the checkb...
asked by 10.07.2016 / 01:59
2
answers

Login with Spring security with md5 + salt

Login with Spring security The following problem I have to get the login data from a ready database with the following md5 + salt encryption (52212dd409480f88e95611a58257506d: SgkronFw2YWXaUSahmnBP1swqhctw21p) and I have to compare this data wit...
asked by 03.07.2016 / 01:58
1
answer

javax.persistence.EntityManager.createQuery (Ljava / lang / String; Ljava / lang / Class;) Ljavax / persistence / TypedQuery;

I have the following problem in developing my user authentication and password: jun 30, 2016 8:49:27 AM com.sun.faces.lifecycle.InvokeApplicationPhase execute ADVERTÊNCIA: #{LoginMB.efetuaLogin}: java.lang.NoSuchMethodError: javax.persistence....
asked by 30.06.2016 / 13:55
1
answer

Use html tag to replace JSF components, when possible

I'm starting the studies with JSF (JavaServer Faces) and writing an xhtml file, I had the following dilemma: Why not use HTML tag replacing some JSF compiler, when possible? Example: use: <label for="nome">Nome</label> inst...
asked by 20.06.2016 / 19:48
0
answers

Method with Parameter jsf + output

How can I pass a parameter to a method and at the same time return the value of the method with output? Example. //Bean public String getResposta(String ok){ return ok; } //pagina <h:outputLabel value="#{bean.resposta('RespostaPara...
asked by 24.06.2016 / 18:40
0
answers

"java.lang.NullPointerException" in JSF application with Hibernate

My web application uses JSF / Hibernate, but when I run a search method on the DB it returns "java.lang.NullPointerException". What is the cause of the error? /* * To change this license header, choose License Headers in Project Properties....
asked by 15.06.2016 / 15:08
0
answers

Fill two objects in a jsf form

Good morning, Is it possible to fill two different objects in the same form? Ex: <p:inputText id="ordem" value="#{testeBean.objA.atributoA}" /> <p:inputText id="ordem2" value="#{testeBean.objB.atributoB}" /> To get the fi...
asked by 04.07.2016 / 16:16