Questions tagged as 'primefaces'

1
answer

What is the difference between these two statements?

I was reading some tutorials and documentation and came up with two different ways to declare RequestContext : RequestContext requestContext = RequestContext.getCurrentInstance(); requestContext.execute(/*coisas*/); and RequestConte...
asked by 17.08.2014 / 17:36
2
answers

Lock a button inside a dataTable in the firstfaces

I have the following problem, I have a dataTable that contains the possibility to edit the data using editing by the line, using the tag rowEditor and cellEditor . Next to it I have a button to delete that line. When I click...
asked by 05.08.2014 / 15:12
1
answer

Rendered of primefaces giving error when retrieving entity boolean

Does anyone know why rendered graphic image is giving error? <p:dataGrid columns="3" value="#{projetistaBean.listaDeProjetistas}" var="projetista" styleClass="ui-datagrid" > <h:commandLink>...
asked by 05.08.2014 / 17:11
1
answer

How to only change the visible checkboxes of a datatable?

Problem situation, suppose we have a datatable in primefaces with the following characteristics: The first column instead of the title has a checkbox with the label all . All lines in this first column also have a checkbox (and this check...
asked by 09.06.2014 / 03:26
1
answer

FileUnput PrimeFaces does not update the attribute;

I have a repeat structure: <ui:repeat var="item" /> Inside it I print some fields. One of them is <p:fileUpload/> So far so good. The problem is when it's time to do the action, when I click the save button it assigns...
asked by 31.07.2014 / 19:20
1
answer

Floodfill with primefaces. Get click coordinate in p: graphicImage

I want to make an image painting application using java. As it is for the web environment I chose primefaces as a framework for the vast documentation that exists about it. In the meantime I did not find any component that was useful in this...
asked by 21.07.2014 / 19:14
1
answer

Error while trying to display the information of an object in a p: dialog /

I'm developing a system using JSF, PrimeFaces, JPA, maven and PostgreSQL. I am new to JEE and am having difficulties with using PrimeFaces, so let's get down to the problem: I have a client list screen and on this screen I would like to be ab...
asked by 24.06.2018 / 01:48
2
answers

Datatable of primefaces does not update selection variable

Based on the first example of Datatable Selection where a variable (% with% ) I get the selected value when I click on a linhaSelec I decided to mount my implementation but the variable that would have the value of the selected line is...
asked by 25.04.2018 / 20:59
1
answer

Selectonemenu Field (Primefaces) does not save on the bank

I come to ask for your help again, because I need to finish my CBT. I have dialog that has multiple fields, one of them is <p:selectOneMenu> . When I pre-select all the fields and save, the fields are all saved, except the...
asked by 28.11.2017 / 05:44
1
answer

Capture the value of the selected item in selectOneRadio with JavaScript

I have this component Primefaces: <p:selectOneRadio id="mercado" styleClass="teste"> <f:selectItem itemLabel="Interno" itemValue="I"/> <f:selectItem itemLabel="Externo" itemValue="E"/> </p:selectOneRadio> I t...
asked by 29.11.2017 / 01:52