Questions tagged as 'jsf'

1
answer

Capture array values to display in a panelGrid (PrimeFaces)

I do a project using Serverfaces and Primefaces, and I am faced with this situation. I am printing the searches of my page (of hotels) in a dataGrid. In turn, if I select any hotel, it prints me some information I want in a dialog, which contain...
asked by 27.07.2017 / 23:10
2
answers

What is the difference between Spring / JSF / JSP? [closed]

I am learning how to program and I would like to know what are the main differences or what do you recommend me to learn?     
asked by 29.05.2017 / 07:52
1
answer

I can not remove the object from my list DataTable

I am inside my service and here is where I put the parameter so that I receive the id of the row I want to delete. @Transactional public void eliminaHerramienta(Integer idherramienta) { try { Herramienta p = manager.find(Herramient...
asked by 27.06.2018 / 23:15
2
answers

DataTable component of primefaces is not updated correctly

I try to refresh the dataTabale component of primefaces when I delete a record from the table, however, when I click on the delete button, sometimes the table is updated and sometimes not, then I have to manually refresh the entire page to see t...
asked by 27.06.2018 / 14:24
1
answer

Detect F5 or reload and always send it home. JSF

I need to know if there is any way to identify when a user reloads the page using f5 or update the browser button to schedule an action and that it always redirects to the homepage. I am using a phase listener where I can compare befor...
asked by 24.06.2016 / 15:28
1
answer

how to get the item from a list in java and pass it to a variable?

I have the following code, which sends a query that returns a list, within that list there is an element called getHoraEntrada, which comes in Date format, and I in my view just want to show the time, so what I did was create a variable String...
asked by 22.02.2018 / 00:19
1
answer

save html table in bd using jsf or jsp

I have a dynamic HTML table <TABLE> <TR> <TD align="center">ID Interno</TD> <TD align="center">UID Externo</TD> <TD align="center">ID Interno</TD> <TD align="center">UID Ext...
asked by 22.08.2016 / 08:23
6
answers

how to get the last id inserted in JSF and Primefaces?

I have a problem in showing the last inserted code and showing it in my web application as shown in the image when I press the new button. It shows me another window and where it says code I have to show P007 but it shows me 'P0061'. I le...
asked by 09.09.2016 / 05:43
1
answer

No default proposals in JSF

I would like to find out how to get to show in a jsf code propositions for existing values in the java code of the view bean. I am using eclipse Luna . For jsf tags and their tags if you give me proposals, but for what I m...
asked by 19.02.2016 / 09:23
0
answers

concurrency problem Wildfly 10 Primefaces 6 in com.sun.faces.lifecycle.RenderResponsePhase / doPhase [closed]

I have developed a JEE application with primefaces 6 Spring in Wildfly 10. The application works well with few users, but from 10 users the system starts to give very high response times of more than 10 seconds. With 25 User gives times of 30...
asked by 04.04.2017 / 23:17