Questions tagged as 'primefaces'

0
answers

ManagedBean, the attribute change does not persist

Greetings. I call a method of a bean to add an element to a private arrayList . It is added correctly, but when I call it again (ajax) to add a second element the arrayList is empty. It changes but does not persist. I guess it...
asked by 02.06.2017 / 13:01
0
answers

Problems with datatable

I have a datatable that collects all the data stored in a database table, this table of the database has 2 foreign keys and which are associated by their respective ID, the point is that when running the What I want is not to see the ID of the f...
asked by 18.05.2017 / 23:47
1
answer

Show modal while downloading file

I have a button whose function is to download a file, however this process is sometimes very long and the ideal is to show a message of "loading" while the file is generated, but when using ajax = "false I can not use the functions onStar...
asked by 12.05.2017 / 23:24
1
answer

How can I request two dates in JSF with PrimeFaces and Java

I want to receive two dates, so far I have this: In the xhtml: <h:form id="form"> <h:panelGrid columns="5" cellpadding="5" > <p:outputLabel for="fechaInicio" value="Fecha Inicial:" /> <p:calendar...
asked by 06.05.2017 / 01:06
1
answer

Help primeface selectonelistbox

Foreros greetings The value returned by a oneSelectListBox in the event change value using xvalor = listBox1.getSubmittedValue() returns me one:    object = {id = 10, code = 25, description = Cheese Company}. I need...
asked by 12.05.2017 / 14:55
1
answer

p: graphicImage shows the same image always

I have a WS (Rest) that returns an object of type SERVIDOR and depends on an Id that happens to it. @GET @Path("emps") @Produces("application/xml") public List <SERVIDOR> sendFoto(@QueryParam("a") String a) and from another app...
asked by 27.03.2017 / 06:06
1
answer

Problems searching for a data by ID in jpa

Good afternoon everyone, I am working on a practice project to increase my skills in JAVA EE, the fact is that I am doing a billing system, using JSF, JPA and PrimeFaces, I have a billing page and within this I have a page that takes the client...
asked by 17.02.2017 / 22:07
1
answer

How to use documentViewer and ckEditor in primeFaces?

I have created a pdf file with iText and the javascript plugin ckEditor, later when I try to show it in the document viewer of primefaces it sends me the following error:    ckeditor.js: 94 GET    link   404 (Not Found) As far as I can s...
asked by 14.03.2017 / 05:28
1
answer

RequestContext runs twice

I want to send a function of Js from a Jsf bean with RequestContext, but for some strange reason the function is executed twice. This is the code of my xhtml: <h:form > <p:commandButton class="btn" value="Llamar js Fun...
asked by 23.01.2017 / 18:54
2
answers

The p value is not updated: rating id="total" /

I'm trying to take the value of a rating and show it in another rating: <h:form id="frmVerCalificacionDetalle"> <div id="VerCalificacionDetalle" class="cssBarra ui-dialog" style="display: none; max-width: 400px !important;"&g...
asked by 02.01.2017 / 03:54