Questions tagged as 'primefaces'

1
answer

I do not work on filters in Primefaces

I have the following xhtml file of Primefaces and the filter is not working in the Order field. What can it be? <h:form id="form1"> <p:growl id="growl" showDetail="true" /> <p:panel id="cabece...
asked by 13.03.2018 / 18:10
0
answers

PROBLEMS WHEN OPENING A JASPER DOCUMENT - JAVA EE

I have no problem when generating a document jasper in pdf , the problem is that when that pdf I paste it to a folder of a server and when I open it I get a message that the file It is damaged. Create folder code and copy...
asked by 05.03.2018 / 22:52
1
answer

Register rows of a datatable with a JSF checkbox

How could you do the procedure of an attendance list that when you finish marking the ones that are present, press a button and register the ones that are present with your status of checkbox (Marked-> True , No Marked-> False...
asked by 15.03.2018 / 21:05
0
answers

primegaces p: calendar null

I have a page on primefaces with this simply: <h:panelGrid columns="2" cellpadding="10"> <h:form id="ejecucionesFiltroForm"> <h:panelGrid columns="2" id="filtroEjecucionesGrid" cellpadding="5">...
asked by 03.03.2018 / 20:41
0
answers

how to share data between classes inherited from abstract in java?

Good to see if you can help me. I have an application with the crud generator that uses an abstract class and its inherited classes. My problem is that I can not share data between a managed bean and legacy classes. I tried to create the clsases...
asked by 03.03.2018 / 01:04
1
answer

How to display the dd / mm / yyyy format in java within a table?

I have the following code that brings me the current month and year // Obtienes el mes actual mes = LocalDate.now().getMonth().getValue(); //Se obtiene el año actual Year año = Year.now(); annio = año.getValue(); I have...
asked by 23.02.2018 / 23:13
1
answer

because it sends this error ids for this class must be manually assigned before calling save () when trying to save?

I have the following table that shows a list of people and when clicking on a row, sends me to another page <p:dataTable var="consultaPersona" style="max-width:3000px;max-height:770px;" value="#{NivelesPersonaComponent.listNivelesPers...
asked by 02.03.2018 / 17:51
1
answer

SelectOneMenu dependent on Primefaces

I have a database with 4 tables (Application, Province, Municipality, Town) where I have to add an application. I create 3 SelectOneMenu dependent to choose the Province depending on what is selected, the SelectOneMenu of Municipality must be up...
asked by 23.02.2018 / 15:13
0
answers

Prime Faces. Field required conditional to another filled field

I have the following definition of a field and I need it to be required only if another field of the form has not been filled out. How can I do it?. thanks     
asked by 23.02.2018 / 17:52
1
answer

Error java.lang.ArrayIndexOutOfBoundsException: 0

I have this program Class UploadImage package Pruebas; import com.mysql.jdbc.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import javax.faces.application.FacesMessage; import javax.faces.bean.ManagedBean; im...
asked by 21.02.2018 / 21:25