Questions tagged as 'primefaces'

2
answers

How to read a file sent by user using FileInputStream?

I would like the user to send an .xls file to the system and from that a database would be created. The method I have is working, however the parameter that the FileInputStream receives is a String indicating the path of the file. Only the syste...
asked by 21.07.2014 / 20:56
3
answers

How to get the edge of a datagrid from the primefaces?

How do I get the edge of a datagrid from the primefaces ??? The part of the code that uses the datagrid follows: <p:dataGrid columns="3" value="#{projetistaBean.listaDeProjetistas}" var="projetista" styleClass="ui-datagrid" > and...
asked by 05.08.2014 / 16:09
1
answer

I can not update my dialog via commandLink in a datatable

My goal is to display the selected element in the datatable in the dialog, but I can not give the update in my dialog via commandLink, whenever I try, the application screen gets all messed up and this error happens: Advertência: StandardWrapp...
asked by 14.11.2018 / 15:43
1
answer

Find out which Primefaces component performed an action using jQuery function

I want to make a refactoring in my code, and for this I need to get the id of a component that has undergone an action. My target would be that I have two datatables , and wanted to get id from them and from id defi...
asked by 08.10.2014 / 20:11
2
answers

How to load a jQuery function when loading a page that uses JSF and Primefaces

I'm using a function to check if all the checkboxes are checked to perform the load of an already filled register. So I wanted to know how to call the function. function selectAllCheckbox() { var booleanArray = new Array(); var allChec...
asked by 31.03.2014 / 19:52
1
answer

Primefaces, p: fileDownload ajax="false" nullPointerException

Hello, I'm new here, I already searched for Google's life and here on the Stack something similar but did not find. I am not as experienced as DEV so who can help ... The problem is p:DownloadFile . At least I think it's there. It gives...
asked by 21.08.2018 / 16:47
2
answers

Problems using SelectOneMenu primefaces

I have a problem updating the data of a SelectOneMenu in primefaces, as the code below suggests, I have a button that when clicked, brings data from a WebService and stores it in a Devices variable on the back end and shortly after , it only thr...
asked by 21.09.2017 / 15:48
0
answers

Inject EJB in spring bean

I'm working on a Java EE + Primefaces + JPA project with EJB. In the authentication part I decided to use Spring Security, but I'm having trouble getting the EJB inside the Spring controller. I found some tutorials, but I did not succeed. If som...
asked by 11.07.2017 / 19:25
0
answers

How do I search the information for this autocomplete

<?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java...
asked by 05.06.2017 / 05:21
1
answer

How to load graphicImage image primefaces into different component

My idea at the beginning is as follows: I have a p:dialog header="Foto Funcionário" widgetVar="dlg" resizable="false" component, where I capture my image and cut, as soon as this image is cropped, I would like it to be loaded automatic...
asked by 23.06.2017 / 18:45