Questions tagged as 'primefaces'

1
answer

Enum value as null

I have the following Enum : @AllArgsConstructor public enum Lojas { ALIEXPRESS("AliExpress"), MERCADO_LIVRE("Mercado Livre"), EBAY("Ebay"), WISH("Wish"), GEARBEST("Gearbest"), BANGOOD( "Banggood"); @Getter @Sett...
asked by 21.03.2017 / 23:42
0
answers

Call a report with subreport from a Managedbean

Does anyone have a Java example of how to call from a Managedbean a report with subreport? I already have the report with the subreport working fine in ireport, but when I try to call from the application it just calls the main report. P.s. I...
asked by 03.03.2017 / 08:54
0
answers

coloring a datatable using date

I'm just testing, I want to leave the red font if the date is less than or equal to today But nothing is happening I tried with '2017-02-21' '21 / 02/2017 'and it does not work My css: .vermelho { color: red; } My datatable: <...
asked by 21.02.2017 / 19:10
0
answers

Spring Security + CDI + HibernateFilter

Good afternoon! I'm on a system with Primefaces, Hibernate, CDI and I'm implementing security with Spring-Security and controlling transactions with HibernateFilter, declared in web.xml. I did all the tests with authentication in memory and g...
asked by 19.01.2017 / 03:06
0
answers

Words accented with problems

In many projects jsf I do not remember if I already had problem like this but as the image below shows, the coding is not correct. The problem is occurring in java because I have accented words on the page and everything is fine, i...
asked by 03.02.2017 / 18:27
1
answer

NullPointerException SelectOneMenu [JSF + PRIMEFACES]

In a JSF page about a car shop, first select the car brand and then choose the model. However, when selecting an item from the first menu "Hyundai", it gives NullPointerException and I can not understand. I've tried a lot, I'm a beginner...
asked by 10.01.2017 / 16:51
0
answers

Linking data from two different tables

I have two database tables one client call, another municipality, and in the table "client" I have the items (CdClient, NmClient, Status and CdMunicipio), in the "municipality" table I have (CdMunicipio and NmMunicipio). I want to make a link...
asked by 31.12.2016 / 22:19
0
answers

Ajax does not work, selectOneMenu in cascade

I'm developing a program but ajax does not work at all. I decided to make a very simple system to see where the error is and even then I can not find a solution. I saw some errors of this in the forum but I could not. HTML           <...
asked by 05.01.2017 / 15:17
0
answers

tag p: commandButton does not do what's in the managedBean

I'm starting now on the jfs primefaces and I'm having trouble. My commandButton is not executing the method that is in the managedBean and is not firing anything on the console when it clicks on it (even when I put it there for it to shoot) .......
asked by 05.02.2017 / 02:18
0
answers

Primefaces generating primefaces.css.html file

Primefaces is generating css and js files with .html extension, eg primefaces.css.html. This file is reported as a potential vulnerability. Does anyone know how this file is generatede? How can I change this?     
asked by 26.12.2016 / 15:54