Questions tagged as 'primefaces'

1
answer

primefaces hide column in excel p: dataExporter

I have a table like the following: <p:dataTable var="car" value="#{dtBasicView.cars}"> <f:facet name="header"> <p:outputLabel style="float:left">Resultados de búsqueda</p:outputLabel> <p:dataE...
asked by 17.07.2018 / 14:33
2
answers

How to select a row from a data table and send me to another page?

I have the following table, what I want to do is that when selecting a row, send me to another page to be able to show data according to the person you select in the table, <h:form> <p:dataTable var="consultaPersona" style="m...
asked by 26.02.2018 / 18:19
1
answer

Insert DNI instead of email of the current user

I am inserting data in a request table in jsf . Everything is fine except one detail: I want to place the email of the current user where the attribute nombre_empresa is, but instead I put the value of another attribute...
asked by 13.06.2018 / 22:18
3
answers

User Permissions - Jsf - PrimeFaces

Hi. I have the following case, I need to enable or disable components of PrimeFaces taking into account the permissions assigned in the Database, most examples are by pages in this case I need to control the components for example: I have a...
asked by 08.08.2017 / 17:23
2
answers

Create objects from the elements of an array with the name that they already have JAVA

I have an array and I need to create an object of Element type for each element of the array. I am in the loop with the problem that you can not give an object a variable as a name so I do not know how to create them since the variable Element w...
asked by 16.08.2018 / 10:58
1
answer

Primefaces p: textEditor does not show well after display none

I am using JSF 2.2 with Primefaces 6.2. My problem is that the container that has a p:textEditor of primefaces has the property display: none; at the beginning, when the change with JavaScript to inline shows me a pair of...
asked by 12.06.2018 / 14:49
1
answer

Capture event when closing DIV

Is there any way to capture an event when the DIV that is highlighted closes? (actually changes the display to none). If I click outside the element it closes and I need to do something when this happens. The Primefaces element does not have any...
asked by 02.05.2018 / 01:29
1
answer

How to take the last element of a list in java?

I have the following list listNivelesPersona2 = nivelesPersonaService.findNivelesPersonaConsultaHorario(cvePersona); I want to recover the last record of the time of entry and exit, I do the following for (NivelesPersona nivelesPerson...
asked by 09.04.2018 / 20:23
1
answer

How to implement the max and min in jpa, to obtain the maximum and minimum date?

I have the following query @NamedQuery(name = "findRegistroAccesoByNuserid", query = "select myRegistroAcceso from RegistroAcceso myRegistroAcceso where myRegistroAcceso.nuserid = ?1 and TO_CHAR(myRegistroAcceso.fecRegistroEntrada, 'dd/MM/yyyy...
asked by 24.03.2018 / 00:43
1
answer

p: autocomplete primefaces update

I have the following primefaces component: <p:autoComplete widgetVar="instalacion_w" size="52" dropdown="true" id="instalacion" scrollHeight="300" maxResults="100" value="#{facturacionView.filters.instalacion}" completeMethod="#{facturacion...
asked by 13.03.2018 / 14:16