Questions tagged as 'jsf'

0
answers

Problems with p: ajax

I have a problem with p:ajax within a p:selectOneMenu when selecting an item. It does add but in a specific item it does not add it. That is to say in the image I can add ANTIQUING, STONE SETTING6, but when adding STONE SETTINGs...
asked by 20.07.2018 / 19:49
1
answer

How to hide table?

I'm trying to hide a table by pressing a button but I do not want to work, probably the answer is simple but I have not found it this is my XHTML: <!DOCTYPE html> <html xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java....
asked by 02.08.2018 / 18:33
1
answer

Problem data Date in method jsf

It may be a silly question but I have not been able to solve the problem I have the following methods: public long contarPedidosMeses(int cedulaCliente, int codigoProducto, Date fechaIni, Date fechaFin){ Query q; q = em.createNativeQu...
asked by 29.05.2016 / 19:43
0
answers

Can you work using JSF without the need for a Framework? [closed]

Maybe the question is trivial or even not very well detailed in a technical way, so I rephrase the case: I'm a newbie in web development, all the time I've been used to pulling / dragging items from the elements palette to a desktop form. Now...
asked by 08.05.2018 / 07:05
0
answers

Problem with datatable primeface: lag when editing [closed]

I have a datatable that has one of its columns editable. My problem is that when I write in one of the boxes of that column, one of these situations happens to me. 1. It does not focus on the first attempt: I click on the box but the course...
asked by 27.03.2018 / 21:42
1
answer

How to compare a Date date in java?

I have the following table, which shows a column called validity <p:dataTable id="horarios1" rendered="#{ConsultaPersonasUnidadFisicaComponent.muestraHistorial}" var="consultaHorario" style="max-width:3000px;max-height:770px;" value="...
asked by 07.03.2018 / 18:07
0
answers

TypedQuery in JPA very slow

I am starting to create a project with JSF and JPA, for the moment I have made a simple login (with pending improvements) but I have found that the query it takes takes about 3 seconds, something quite high considering that the base of data for...
asked by 02.03.2018 / 23:49
2
answers

Dowload File Primerfaces Java

I am implementing a code to download with primerfaces a pdf and I get the following error:    java.lang.NullPointerException       at org.primefaces.component.filedownload.FileDownloadActionListener.processAction (FileDownloadActionL...
asked by 19.01.2018 / 16:12
1
answer

Problem with two nested selectOneMenu

I'm trying to make two nested selectOneMenu, one contains the provinces and the second the cities of those provinces. I miss an error, when selecting the province, and I can not find out what I did wrong. The error: SEVERE [javax.enterprise...
asked by 27.09.2017 / 17:17
1
answer

Paginate in java ee jsf from data or files entered by the user

The specific query is: we are using JSF with Framework Primefaces It turns out that we need to display on the screen Paginated Data We have a list of objects and each object has a TITLE and CONTENT, that we owe show in some component ONE object...
asked by 05.09.2017 / 01:35