Questions tagged as 'jsf'

0
answers

because this error is in java, Can not format given Object as a Date?

I have the following method public List<String> llenaDiasAnioMes() { Date date = null; List<String> lDias = new ArrayList<>(); for (Integer i = 1; i <= this.getLongitudMes(); i++) { String fechaAct...
asked by 06.03.2018 / 00:55
1
answer

How to display the contents of a list that comes with numeric fields in String in java?

I have the following list, and I pass a find, which returns a list of Access Registry private List<RegistroAcceso> listRegistroAcceso; listRegistroAcceso = registroAccesoService.findRegistroAccesoByNuserid(cvePersona); Within t...
asked by 15.03.2018 / 23:46
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

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
0
answers

Update data in pivot table ADF

I have a Pivot Table ADF (work with JDeveloper 12c), where in the columns I have grades and rows, subjects. The idea is to select one of those notes and edit it in the same pivot table. The pivot table is like this: I hope the questions...
asked by 28.02.2018 / 12:59
1
answer

Redirect pages jsf with parameters

I appreciate your collaboration, I'm doing a page jsf that performs a basic authentication with username and password, if the authentication is correct redirects to another page, however I need to send two String this is my f...
asked by 26.02.2018 / 03:25
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

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
1
answer

How to show a single record of what a list in java returns?

I have the following code, which sends to call a query that returns a list to me and in console it sends me the suiente incidenciaAnioMesDet = anioMesDetService.findIncidenciaAnioMesDeByAnioMes(cvePersona, annio, 1); for (IncidenciaAnioMe...
asked by 22.02.2018 / 22:49