Questions tagged as 'jsf'

1
answer

Simplifying code

I have the following code snippet: <p:menuButton value="#{messages['relatorio']}"> <p:menuitem value="PDF" update="painelRelatorioResumoExpedicaoDesembarque" oncomplete="gerarRelatorio();" id="commandButtonGerarRel...
asked by 12.05.2017 / 15:18
1
answer

JPA + Hibernate launching update alone

Hello, I have an object that is managed by Hibernate. On screen, an attribute of this object updates the value and Hibernate immediately fires an update in the database, without even going through methods in the controller or data persistence...
asked by 19.10.2016 / 20:29
0
answers

Insert String in primefaces graphic

I'm building a graph, but I need to display the data of a field that is "String", but it only receives integer. Has anyone ever gone through this? tempo.set(u.formataData(treinos.get(i).getDataTreino()), u.formataHoraComSegundos(treinos.ge...
asked by 19.10.2016 / 21:05
1
answer

java library error in project

The libraries of my project are not importing the classes of * util and several others too, I do not know what is happening, because when I create a new project these classes and libraries work. Below an error print. I've tried to clean the e...
asked by 24.10.2016 / 19:58
1
answer

JasperReport Report - Blank Page - PDF Report

This is the following I created the report in jasperReport I created a parameter there, with that the data of this report it is getting from the bank (Mysql) and displaying / But when I post to display on my JSF page the data is blank in a bla...
asked by 31.08.2016 / 21:03
0
answers

Get username in session jsf

I'm in doubt as to how to get the user's name in the session. I'm using Spring Security 4.2 I have my User Class import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import lombok.Data; @E...
asked by 27.08.2017 / 17:47
1
answer

Help with broken pipe

I have a problem with my system, it is dropping too much connection as a database, this system is up to 12h idle, I need help to configure C3P <!--Configuração do pool de c3p0 --> <property name="c3p0.acquire_increment"...
asked by 17.10.2016 / 20:10
0
answers

TabView on Primefaces with Ajax

Next, I have a small problem, but I'm following the same steps as the primefaces showcase, but without success. I want to trigger an ajax every time a tab is selected, clicked. This way I will have what was the selected tab and if the user pr...
asked by 13.10.2016 / 21:05
0
answers

javax.el.MethodNotFoundException [closed]

Good afternoon guys, I'd like your help for an error that I still do not understand why it happens. The situation is: I have a method in my managedBean listTurmas that loads a list so that later I can use, I already tested this method in a te...
asked by 16.09.2016 / 17:31
1
answer

Upload image after selected item

In my application, the user defines a root directory. After defining the root there is a listing of files in the directory. When the file is selected there is another directory where an image with the same file name exists. I want that when sele...
asked by 02.02.2017 / 18:45