Questions tagged as 'jsf'

0
answers

p: selectOneMenu does not correctly filter the dataList

I have a column with the filter p: selectOneMenu. I use it to filter a column that has rows that can have one or more attributes. So I use the p: dataList component of Primefaces to show this list. But the filter only takes the first item of the...
asked by 27.05.2018 / 23:28
0
answers

Can you use the f: view renderKitId="HTML_BASIC" tag on a specific component?

I would like to use only the fileUpload component that I have on my screen. Can someone help me? Thanks in advance.     
asked by 06.06.2018 / 17:28
0
answers

Design change for UTF8

When changing the project to UTF8 every time a request is made without ajax, for example: <h:commandButton value="Salvar" styleClass="espacoBotao" action="#{tratamentoBean.editarTratamento(loginBean.usuario.siape)}"/> If I save the da...
asked by 21.05.2018 / 19:41
1
answer

CommonsMail JavaMail - Failed to send email

I'm trying to send email using google's smtp with the CommonsMail lib in a web application, but it's always causing a flaw. I made a separate app and tested several settings, which I've been seeing on a number of other topics. Using port 465...
asked by 22.05.2018 / 23:42
0
answers

Schedule in Columns - JSF

Good evening, I'm setting up an event calendar and I use Srps boot + JSF + Primefaces. The user clicks on the employee's name and his schedule is displayed. So far so perfect. (Code below) Now I need to create a view where you can see the...
asked by 16.05.2018 / 02:06
0
answers

org.hibernate.exception.JDBCConnectionException: Could not open connection

I'm having trouble losing connection to the MySQL database, which occurs after a few minutes of use. Please, could anyone help me? I have no idea what it can be. Here are my codes: hibernate.cfg.xml <property name="hibernate.conn...
asked by 18.05.2018 / 22:17
0
answers

Project in JSF 2.3 with delay in the initial connection

I'm making a system using Java1.8, JSF 2.3, hibernate 5.4.x and Tomcat 9, with standard MVC and entitymanager. The problem is that to save the first object on a form, it takes about 3 to 5 seconds. Then everything is normal. I think it's the...
asked by 12.05.2018 / 00:03
1
answer

"p: message" No Message in XHTML

Hello, I'm implementing a cadaster using the primefaces to display the critical messages I've made in the bean. I'm using FacesContext as below: FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(FacesMessage.SEVERITY_ERROR, "...
asked by 05.05.2018 / 22:24
0
answers

p: summaryRow does not work with p: columns

I have a JSF page with a p:columns to show data analytically and a p:summaryRow to show the summary. It happens that inside my p:summaryRow , I have p:columns , because I can not predict how many results I'll have, s...
asked by 09.05.2018 / 19:03
0
answers

Recover login when registering

I'm trying to register a user of type bettor and soon after the registration, it is redirected to the index page, but when I make the registration it generates the error:    Serious: java.lang.ClassCastException: bean.LoginBean can not cast c...
asked by 30.04.2018 / 21:08