Questions tagged as 'jsf'

2
answers

Get value of an attribute in JSF -The class 'xxx' does not have the property 'yyy'

Greetings, I am developing an application in JSF, in which, a message is displayed, the typical "Hello World". For this, I have in a package hello a class Hello , with the annotation ManagedBean, in which I define an attribute message and a...
asked by 02.11.2016 / 00:06
1
answer

p: selectOneMenu form does not take value of selected item

I have a form in JSF in which I ask to select an option of p:selectOneMenu that lists meeting names String but I want to save the object as such mapped: Meeting. I made the FacesCOnverter needed to bring me the value of t...
asked by 23.06.2016 / 00:06
1
answer

The component ID form8: Productprice has already been found in the view

Glassfish generates this error StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception java.lang.IllegalStateException: El ID del componente formulario8:precioProducto ya se ha encontrado en la vista. a...
asked by 13.06.2016 / 02:44
3
answers

The calendar component of primefaces does not show the calendar

As the title indicates, I am developing a web application with Primefaces in which I use the calendar component. In most cases the component works correctly, however, in some cases the component does not show the calendar. Instead, it is display...
asked by 31.05.2016 / 09:29
1
answer

the Tabchange event of the accordion primefaces panel does not work

I have a accordionPanel created dynamically and I want to get the identifier of the Tab that activates the user, for this I am making use of the only event ajax that can be applied to the accordions ( tabChange ), however this is...
asked by 24.05.2016 / 14:41
1
answer

Can a new row be added to a datatable and that same edit and be sent to bd?

Good afternoon, I want to ask you a question, there is some way that a new row can be added to a DataTable by means of a button and that same row can be filled with information, all the datatable is filled with information from the BD, Basically...
asked by 27.12.2018 / 01:08
0
answers

Concurrency and query problem BD

I'm having a problem in my project that is java web with JSF and Mysql which is the following: I have a table in mysql called consecutive that is consulted by users to consult a record that is corresponding to your company and this same reco...
asked by 11.12.2018 / 15:07
1
answer

Sweet alert problem in JSF

I am trying to integrate the sweet alert plugin in a boto in JSF to show a presentable confirmation window, the problem is that pressing the button opens the sweet alert but still executes the action of the controller without taking into account...
asked by 10.12.2018 / 21:16
0
answers

fill a datatable in primefaces with the result of a native jpa query?

My question is the following I have a query in my database manager which gives me this result. and a java method that does exactly the same thing but shows me the data in the following way. If I debug the list it is full and shows me...
asked by 28.11.2018 / 15:12
0
answers

I can not insert records in function postgresql with jdbc

Good morning friends, I have a problem when I want to insert records from a call to a postgresql function that receives 2 parameters and I want to do it from Java Server Faces and JDBC this is my java code: DAO: @Override public boolea...
asked by 29.10.2018 / 18:08