Most voted "primefaces" questions
Primefaces is a JSF component library that features a large set of rich components that uses jQuery and jQuery UI behind the scenes. It supports the jQuery UI Themeroller CSS framework. There is also a specific set of rich components for mobile devices.
Learn more…748 questions
Sort by count of
-
0
votes0
answers993
viewsSet variable value in Inputtext JSF
Guys, I’m having a doubt maybe a little bit stupid but I’m not able to solve, I’m starting web development using java and jsf, primefaces and I have a problem at the time of changing a record. I…
-
0
votes1
answer55
viewsuploadFile primefaces
The method below, along with my jsf, uploads a file. bat to a folder inside my project, until then it works normal, the problem is that when I go to see the folder where the file is, it is there,…
-
0
votes3
answers355
viewsPrimefaces Datatable Edit does not send updated value for editing
I am trying to update through the Edit datatable of the first faces, but it does not send the updated inputtext value to the bean. The process occurs almost correctly, the value is sent and updated,…
-
0
votes0
answers162
viewsMake downloading Html5 video difficult
I would like to make it difficult to download Html5 videos from the URL, which the user can inspect (examine with browser functions). Searching the Net saw that there is a 100% way not to allow the…
-
0
votes1
answer87
viewsCharts Primefaces
I am having the following problem I have the following class that receives the values of the graph of information collected in real time from the bank @ManagedBean public class ChartView implements…
-
0
votes2
answers199
viewsLoad objects from other classes
I have a selectOneMenu which will be used to list all Generations (data in the database). These data should be listed when registering a Nature object. My selectOneMenu is like this :…
-
0
votes1
answer1211
viewsCentralize components
The print below is from the confirmation of a record of my datatable, the popup is opened when you click on the delete record button: The code of this dialog is as follows:: <p:commandButton…
-
0
votes2
answers1427
viewsMark or uncheck selectBooleanCheckbox when clicking another
Hello, I have the following situation: On my jsf page I have some components selectBooleanCheckbox. I need that when clicking on one of them some others are unchecked, and also disabled, making it…
-
0
votes1
answer126
viewsRedirect between pages with datatable(primefaces) without losing filters
I have 3 pages and they are responsible for fetching objects in my databases based on the first page selection filter. My website is about car ads and has the following structure: 1st page:…
-
0
votes1
answer85
viewsUnable to view event details created in the first faces Schedule
This is intriguing me has a time, use in the project the Schedule of the primefaces to add events, even then it’s okay, all the computers add and send to the online database, there is also a method…
-
0
votes3
answers3802
viewsLoad a list of Enums
I have a selectOneMenu thus: <p:selectOneMenu id="diminui" value="#{naturemb.nature.diminui}" effect="clip"> <f:selectItems itemLabel="#{naturemb.carregarAtributos()}"…
-
0
votes1
answer252
viewsShow suggestions while typing autocomplete
I got the following autoComplete : <p:autoComplete id="geracao" value="#{habilidademb.habilidade.geracao}" completeMethod="#{habilidademb.listarGeracoes()}" dropdown="true" var="bean"…
-
0
votes1
answer298
viewsUi:repeat - taking Description from the bank
Hi. I would like to know ,how to organize my ui:repeat... why on the page it displays : Change of Schedule and the checkbox field, Nightwork and the checkbox field summing up I wish I could organize…
-
0
votes1
answer226
viewsHorizontal Scroll Bar, selectOneMenu - Primefaces
Good Morning, I am developing an academic project using JAVA EE, JSF, Primefaces, CDI, Hibernete among other technologies... The layout is responsive and I’m using Panelgrid to organize the form…
-
0
votes0
answers295
viewsCustom validation when changing tab in p:Wizard
I have the following p: <p:messages id="msgs" showDetail="false" autoUpdate="true" closable="true" /> <p:wizard flowListener="#{caixaRecebimento_MB.onFlowProcess}" showNavBar="false"…
primefacesasked 7 years, 11 months ago Marcelo 901 -
0
votes0
answers400
viewsAjax does not work, selectOneMenu cascading
I am developing a program but ajax does not work at all. I decided to make a very simple system to see where the error is and still can not a solution. I saw some of that on the forum but I couldn’t…
-
0
votes0
answers83
viewsConversion error on Primefaces imageCropper component
I’m trying to cut an image with the component imageCropper of Primefaces, but in the implementations I performed it only gives conversion error, and when not, the object croppedImage that Primefaces…
-
0
votes1
answer115
viewsCalculate Difference between Hours
I need to calculate the difference between hours, I’m using xhtml and primefaces, have the Start Time and Final Hour, want to add the difference in Total Hs. Follows my code: <p:outputLabel…
-
0
votes0
answers455
viewsUpdate datatable
I’m having trouble updating a primafaces datatable after doing a filterBy search. First, I do a search through a method in managedbean to bring the list from the bank to the table. Therefore, I…
-
0
votes1
answer244
viewsMessage is not being displayed
Inside my form has a autocomplete, When activating the autocomplete and if the previous field has not been filled I want to send a message stating that the previous field must be filled. I…
-
0
votes0
answers109
viewstag p:commandButton does not do what is in managedBean
I’m starting now at jsf primefaces and I’m in trouble. My commandButton is not executing the method that is in managedBean and is not shooting anything on the console when you click on it (even when…
-
0
votes1
answer231
viewsPrimefaces (Tabview): Null properties when saving
I’m using a Tabview with two tabs and each tab with an external file with fields. By clicking the "Save" button the attributes are coming as null. Follows the code: Clientescadastrados.xhtml: ...…
-
0
votes1
answer65
viewsObject is not completed
I have the following form from my page: <h:panelGrid columns="3"> <p:outputLabel value="Código" for="codigo"/> <p:inputText id="codigo" value="#{encomendaController.encomenda.codigo}"…
-
0
votes0
answers298
viewsProblems with charset="utf-8"
I have a die with light recorded on the bank postgres with UTF-8 example: Joseph When I recover the page comes correctly, but when I give the Submit changes to : Josã. My JSF header looks like this:…
-
0
votes1
answer80
viewsPrimefaces 6.0 and 6.1 - Jquery error
When including any Primefaces component in my HTML body, it raises this error: Uncaught Typeerror: N.delegate is not a Function. You know what would be? The error is in this second line of…
-
0
votes1
answer26
viewsI have 2 problems that when trying to submit the fomulário
well I’m having little problem here on my form in fact would be 2 problems. 1 - I am using an autComplete, and then I can get my object through the search, only that at the time of submitting my…
-
0
votes1
answer196
viewsupdating by filling in information after using the autocomplete
I am creating a form in JSF and primeface, and I have here an autocomplete. Only when I finish filling out my autocomplete, I want you to render a part of my fomulário. Until now I was able to hide…
-
0
votes1
answer874
viewsCalling method when closing dialog
This code is the showcase of the primefaces : <h:panelGrid columns="1" cellpadding="5"> <p:commandButton value="Basic" type="button" onclick="PF('dlg1').show();" /> <p:commandButton…
primefacesasked 7 years, 7 months ago Roknauta 2,811 -
0
votes1
answer44
viewsI do 2 dates check plus is persisting
I have a form, and before saving I want you to make a check that in case would be two dates. Only when a check is made it launches a Message until then OK. More ends up appearing another referent…
-
0
votes1
answer672
viewsproblem using Primeface modal
I’m using a modal within the Only when I close, it gets locked the components, I think I must have done something wrong. Follow my code. <ui:composition…
-
0
votes0
answers174
viewsUpdate Datatable line after Celledit primefaces event!
I’m updating a datatable cell, it has 3 columns, description, current price and old price. I can normally call the bean to make the change and save to the bd. However, I can’t update the record in…
-
0
votes0
answers60
viewsStop a java processing
I have a processing with a class calling another. Example: I have the registro0100. In it I call the ED022, ED021, etc..... In this ED022, I have some validations, example: boolean achou = false; if…
-
0
votes3
answers814
viewsProblem with accentuation when saving text in the database
Good morning guys, I have the following problem. My system makes changes to a table in the database, if the content is inserted directly by script in postgres, the accent works normally, but when…
-
0
votes0
answers61
viewsCss with ID does not work within <h:form>
I put ID on a button inside a form but its CSS is not working CSS: #Conf{ width: 30%; } #OutNU{ margin-right: 15%; width: 30%; } HTML: <p:panel id="ForgPasswd" style="width: 400px; margin: 0…
-
0
votes0
answers29
viewsJSF web redirect on mobile is not working!
I am developing a student project with JSF 2.2, Primefaces 5.0 and wildfly 8, and came across the following problem: My Application works normally when I access from a desktop device, but when I try…
-
0
votes0
answers34
viewsData does not persist in the database
I have a Primefaces3.5, JSF 2.1 and JPA 2.0 application I am uploading a file in which it does not persistence in the bank but outputs in the console are ok. I still don’t understand why you’re not…
-
0
votes1
answer524
viewsE-mail with Javamail copy
I have a system that sends e-mail, works normally, I want to insert a field to send copies of email, a CC or Cco. follows below an excerpt of my code. Entity private String destino; private String…
-
0
votes1
answer45
viewsmethod picking wrong value
Check it out, I got this boot on a datatable <p:commandButton id="prepDownloadAditivoNovo" style="float:left;" icon="ui-icon-arrowthickstop-1-s" value="Download" ajax="false"…
-
0
votes1
answer358
viewsHow to generate a pdf with Primefaces 5.3 using dataexport
This is my screen to generate the pdf <p:panel style="margin-left:30%" id="pnlTituloGabarito"> <p:commandButton value="Export to PDF" ajax="false"> <p:dataExporter type="pdf"…
-
0
votes1
answer78
viewscellEditor of the first faces giving error
I am trying to edit a cell in my data table and get error. follow my bean : @Named @ViewScoped public class PesquisaPrevisaoBean implements Serializable { private static final long serialVersionUID…
primefacesasked 7 years, 6 months ago user2509556 403 -
0
votes0
answers40
viewsComponent Poll does not call the method
I’m wanting to call a method periodically but the listner of poll does not call the desired method. Below my codes: <p:poll interval="10"…
-
0
votes2
answers453
viewsInserting data using JPA
I need help saving the data of an application using JPA. I followed a tutorial that only helped in the implementation of login but did not show how to save the data. In this case, I am trying to…
-
0
votes1
answer183
viewsHow to delete multiple lines in datatable
I am trying to delete several lines in my data table at once and get nullPointerException. I am sending the code Bean @Named @ViewScoped public class PesquisaFamiliasBean implements Serializable {…
-
0
votes0
answers66
viewsHelp with search screen
The query that mounts the screen is as follows : public List<Produto> listarProdutosDoGerenteRegional() { try { return manager.createQuery(" select p from Produto p where…
-
0
votes1
answer136
viewsHow to save a csv using Hibernate and mysql
I need the following routine to be done: Read some information from the database; Generate a csv based on this data; Write this csv to the database; Start downloading this file to the user. I was…
-
0
votes1
answer292
viewsEditing a record with Daialog primefaces framework
I’m a beginner in the java and java web world, starting with jsf, primefaces and I’m having a problem that I’m not able to solve. I have a datatable listing some data, I have the ajax event to…
-
0
votes1
answer144
viewsImage corrupted using Uploadedfile from Primefaces with Ftpclient
Hello folks I am having problem in Primefaces component "File Upload", while trying to save the file via "Ftpclient" the file gets corrupted. Form configuration <h:form id="formNavegacao"…
-
0
votes1
answer34
viewsCode redundancy in my . xhtml JSF - Primefaces
I have this table in 2 pages of my own and I ended up copying and pasting this code, the only thing I had to change was the "bean", in one I used "bean1", in the other I used "bean2". Is there a…
-
0
votes1
answer341
viewssubmit part of the form - jsf primefaces
I am trying to post a part of the form but I have tried it in some ways and I still have problems. Follow a screen print click to see the image <h:form id="QuestaoCreateForm"> <h:panelGroup…
-
0
votes1
answer494
viewsProblem implementing JSF Converter with p:selectOneMenu
I’m having problems implementing a convert to a simple selectOneMenu of Primefaces. When you pass the Convert getAsObject method the value parameter comes with the description of what was selected…