Questions tagged as 'primefaces'

2
answers

Primefaces p: dataTable changing default message "No records found."?

And I have a p: dataTable: <p:dataTable var="ind" value="#{logIndPersistBean.list}" paginator="true" rows="10" id="table" rowStyleClass="odd-row, even-row"> <f:facet name="header">...
asked by 20.08.2015 / 21:41
2
answers

Get Selected DataTable Row

I have a dataTable with the data in front of each given a button, when I click the button a dialog is opened so that I can do an edit in that data, however I can not get the object that was selected to pass as pro method parameter...
asked by 14.07.2015 / 16:15
2
answers

Table does not update correctly after editing

I have a dataTable and in the last column I have an edit button that opens a dialog with a field to fill. When I click on edit the table is updated with the edited data, however if I give an F5 the old data will return to appear in...
asked by 14.07.2015 / 18:38
1
answer

How to solve the problem of date validation - calendar - PrimeFaces?

When loading the date in a calendar (PrimeFaces) it loads normally: Code: <p:outputLabel value="Data de Nascimento" for="data-nascimento" /> <p:calendar id="data-nascimento" locale="pt" mask="99/99/9999" value="#{solici...
asked by 01.10.2015 / 01:38
1
answer

PrimeFaces - p: fileDownload PDF

Hello, I'm trying to download a PDF in my application but I can not. When I click the Download button instead of downloading, you are checking in form if the required fields have been filled in. If you fill in all the fields it works...
asked by 30.09.2015 / 20:09
1
answer

PrimePush eventBus does not work and will give the errors

I'm starting to learn in practice with PrimeFaces giving PUSH. Follow the link link I have implemented the following code, using the Tomcat web server, I configured it in Maven, it is PrimeFaces in version 5.2 and atmosphere in version 2.3....
asked by 01.06.2015 / 02:31
1
answer

How can I make the selection of this DataTable?

I've created a datatable of variable columns whose collection occurs from a list of objects with several different attributes. In detail, I have a class ProjectProject, which has a Project attribute, a Criteria, and a Scale. The number of col...
asked by 07.06.2015 / 23:30
2
answers

Is it possible to make a comparison between items in two lists and if there is similarity between items not displaying this item in a dataTable?

I have a list that is populated by data from an xml file and another list that is returned from a query in the database. I would like to know if it is possible for me to compare existing code in these 2 lists. If the codes are the same, they do...
asked by 09.06.2015 / 19:32
1
answer

p: selectOneMenu does not update value inside ui: repeat

The context is as follows, I have a list of objects AvaliaProjeto , which contains: Project Criteria Scale Value The project is selected from the outside, the criteria are listed for their scales to be chosen. That is, each...
asked by 15.06.2015 / 00:43
1
answer

Problems loading dataTable PrimeFaces

I am using in the Java Web application CDI, JPA and Maven, my application is already inserting records into the database without any problem, now what I have left is to list the records in the PrimeFaces dataTable. Since I am a programmer wit...
asked by 30.03.2015 / 15:22