Questions tagged as 'primefaces'

1
answer

Change color of a row in the datatable when marking a checkbox

I'm developing an application using the bootsfaces framework in JavaWeb. On one of my screens I have a datafile of bootsfaces with the values coming from my Bean and a checkbox of the primefaces that assists in deleting or changing a particul...
asked by 09.08.2017 / 14:49
1
answer

Lock the enter key inside the p: editor

I'm using java, JPA and PrimeFaces with Wildfly. I have one of the PrimeFaces that I want to block when the user hit the enter key there is no action. How should I proceed?     
asked by 25.05.2017 / 15:17
1
answer

Refresh message

I have the following screen: <?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xm...
asked by 21.03.2017 / 15:04
2
answers

Primefaces Dialog TabView

I have a Dialog where there are 2 tabs, click to display the dialog and alternate between the tabs, after closing if return to TabView it returns with the last tab visited and I need it to return the first tab. I already tried with activeIndex,...
asked by 16.11.2016 / 22:35
1
answer

Primefaces does not find Panel and DataTable components

I'm doing a job where I use Primefaces + Ajax + Hibernate. I have a screen to add / change a client that should open in a modal every time the user clicks the button. And in that same code I have a dataTable to show all clients. However, for som...
asked by 12.11.2016 / 15:33
1
answer

Pass parameter with ajax

My application receives a directory in the first field of the form. Through this directory I will list the files in it. I have a method that will list the files according to the directory received by parameter. After the user informs the directo...
asked by 02.02.2017 / 14:00
1
answer

p: growl of primefaces is showing twice the CPF name

My p: growl of primefaces is showing twice the CPF name when cpf is invalid. I'm using bean validation. <p:outputLabelfor="cpf" value="CPF" rendered="#{cadastroClienteBean.CPF}"/> <p:inputMask id="cpf" label="CP...
asked by 05.09.2016 / 15:35
2
answers

Send selected record from a p: dataTable to form, JSF firstfaces

Hello, I'm new here, and I'm migrating from Struts 1 to JSF. I am developing in JSF a user registration screen. I would like that when I select a record from p:dataTable , the data from that selected record went to the fields of the for...
asked by 24.08.2016 / 15:23
1
answer

Select returning Null from the database

I'm trying to make a login page and I'm using JaVA,JPA,WIldfly,Primefaces and the MYSQL database. I'm passing the name and password, but at the time of inspecting it it returns me null , throwing the select in the database...
asked by 30.08.2016 / 16:49
1
answer

Symbols of the ternary operation appear on the screen

As can be seen in the line below, I'm using a ternary condition on my screen: <h:outputText value="#{naturemb.nature.id == null} ? #{msg['cadastrando.nature']} : #{msg['atualizando.nature']}"/> But on the screen, in addition to the te...
asked by 12.06.2016 / 00:36