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
votes1
answer88
viewsPaging appear in JSF Primafeces Datatable only when you have more than one page
How to make pagination appear only when you have more than one page, using the Datatable of Primefaces in the JSF?
-
0
votes0
answers44
viewsError: Datamodel must implement org.primefaces.model.Selectabledatamodel when Selection is enabled
I am implementing a selection list (Datatable) but I only get this error: Datamodel must implement org.primefaces.model.Selectabledatamodel when Selection is enabled. Follow the code below:…
-
0
votes1
answer15
viewsApplying the paradise premium primefaces theme to a project that is not Maven is possible?
I was able to import the War that comes in the theme file and access the contents, but I already have a non Maven project started and Spring Security structure mounted working correcting already ..…
-
0
votes3
answers97
viewsI cannot save my Selectmanycheckbox Primefaces in the database
My View Cad Medico xhtml <p:selectCheckboxMenu id="multiple" value="#{medicoBeanView.objetoSelecionado.especialidades}" label="Especialidades" multiple="true" filter="true"…
-
0
votes1
answer239
viewsAngular 7 - Power Tooltip on prime-table buttons
I am using the prime-table, along with the tooltip, and would like the tooltip message to be customized for my system. Ex: The edit button will display the "Edit user" message in the user table and…
-
0
votes1
answer45
viewsNull arrives attribute in Managedbean
I have an object called Historicosituacaodocumentacaoprotocoloonline, this object has some dates, a description and another object, called Situacaodocumentacaoprotocoloonline. The dates are being…
-
0
votes1
answer134
viewsHow to save an image in the BLOB field of the SQL bd using jsf + primefaces?
I have a table in the database where the BLOB type field already exists to store an image. I wanted to know how to capture an image through JSF/Primefaces and store in this BLOB field of the…
-
0
votes2
answers983
viewsHow to return all elements of the Angular array
why is returning only the last position of the array instead of all ??? showChildModal3(Candidato: Candidato) { this.CandidatoService.getCandidatoById(+Candidato.id) .subscribe( data => { for…
-
0
votes1
answer672
viewsUpdate does not work when trying to update a <p:panelGrid>
I have a button inside a <p:toolbarGroup> where I do some operations, I also have a <p:panelGrid> which should be rendered after the user clicks the button, but I cannot update this…
-
0
votes2
answers261
viewsHow do P:Izard go back to a certain tab?
I have a p:Wizard in which, if a certain condition is true, it advances to the last tab by clicking next. But I’m not getting it back to the first tab if I click back. There’s a way to do this with…
-
0
votes1
answer72
viewsHow to organize questions to display on screen
good night. I have a String type attribute that receives a question coming directly from a textarea. My problem is that I can’t let the questions go when it comes to displaying them equally as a…
-
0
votes1
answer33
viewsGeneric styleClass in table
I am mounting a table and wanted to know the following: I want to put a css style in the column headers, you need to use a styleClass in each header or I can declare a generic for all the headers?…
-
0
votes1
answer162
viewsDialog with datatable is not displayed
I have a dialog with a dataTable, However, when you click the button that should open it, this does not happen. He also owns a dataTable within it that should have respective values the line in…
-
0
votes1
answer243
viewsManipulating a JSF + Primefaces datatable
How do I make for the dataTable only be displayed after I click Reply Simulated? When loading the page, the dataTable first logo is already displayed, even I have no question in it. I have a Command…
-
0
votes1
answer95
viewsProblems with <p:Poll> that does not find Id
Guys, I have a div that needs to be updated in 5s, but it’s giving error saying that the ID is not found. <h:form id="form"> <br /> <center><h:outputLabel value="Visão Geral"…
-
0
votes1
answer161
viewsRendered Does not work in datatable
Good afternoon. I have a simple problem. However, I am struggling to solve. I have these 2 methods to control my Rendered do dataTable: // Filtra o simulado.. @Transactional public void…
-
0
votes0
answers270
viewsUpdate image after attaching to fileupload
When I insert the image by dialog using the fileupload the graphicImage does not update the image after I click on attach. The photo only appears on graphicImage after I save the form. I wanted the…
-
0
votes0
answers231
viewsgraphicImage does not render: ? pfdrid_c=true
I’m trying to display an image with , but it’s not showing in any browser. On my page I make the call of the mode image: <p:graphicImage value="/upload/#{desap.foto}" height="140" width="140"…
-
0
votes1
answer303
viewsPerformance when generating a JSF table
I’m having a question of how to improve perfomance when generating a table on a page using components JSF and Primefaces. I am generating a table, after making an SQL query and mapping the object…
-
0
votes1
answer347
viewsProblems with Dataexporter
I cannot export data from my table, even following the example of Primefaces Showcase. I use version 5.0. <h:commandLink> <p:graphicImage library="img" name="xlsx.png" width="32"…
primefacesasked 9 years ago HDeiro 918 -
0
votes1
answer124
viewsHow to download a PDF that is in C:
With the code below I can download a JPG, but with PDF does not work. I tried to change the last line for that, but it didn’t work either. file = new DefaultStreamedContent(stream,…
-
0
votes1
answer546
viewsList two related tables Primefaces x Hibernate
I need to list information from the two tables on the same grid, they have relationship created by Ibernate itself. You would need the vendor name in the table shown below In case it would be these…
-
0
votes1
answer202
viewsWhy does the primefaces dataScroller stop fetching records?
My xhtml is like this: <p:dataScroller ajax="true" id="listaDiarios" chunkSize="3" lazy="true" value="#{managedBeanUsuario.lazyRegistrosDiarios}"…
-
0
votes1
answer81
viewsI can’t get value from my form
I created this form and I can’t redeem its values in Bean. Follows form and parts of the bean. Form <h:form id="form"> <p:commandButton value="Salvar" icon="ui-icon-document"…
-
0
votes3
answers579
viewsJSF + Primefaces - HTTP 404 error
Good morning, Web isn’t my thing anymore. I created the project as "Dynamic Web" after converting to Maven because it was giving errors and the way it stopped giving error was described above. I did…
-
0
votes2
answers348
viewsChange whether or not item appears in <p:Datatable>
Good morning. I am with the following datatable: Could you give me some insight into how I could make this Expansion appear just for the first two lines? The rest have no details to appear in the…
-
0
votes1
answer100
viewsProblems with editable <p:datatable
Good evening. I’m having trouble updating an editable datatable I created here. It reads the values, but does not assign them to the Managedbean object so I can persist. Follows Code of the Bean…
-
0
votes1
answer172
viewsPrime faces does not run the theme "SAM"
When I run my main.xhtml page the theme is not displayed next to the page The tree of the project is attached. Web file.xml <?xml version="1.0" encoding="UTF-8"?> <web-app…
-
0
votes1
answer930
viewsHow to resolve "Type Mismatch: cannot Convert from element type Object to Message"?
I was studying JSF and found this site where teaches to create a basic chat using JSF, primefaces and ajax: https://jetcracker.wordpress.com/2012/03/04/jsf-how-to-create-a-chat-with-ajax/ I have the…
-
0
votes1
answer722
viewsJavascript in JSF page - Primeface
HTML code - JAVASCRIPT It reads a txt file from the computer and puts its value in an html input <input type="file" id="files" name="files[]" multiple /> <input type="text" required…
-
0
votes1
answer73
viewsChange pattern behavior of element p:confirmDialog
I need to change the default behavior of the p:confirmDialog element. By clicking yes, he must complete the request by passing a value and clicking no, he must complete the request by passing…
-
0
votes1
answer1134
viewsPrimefaces doesn’t see the methods of my class
Here’s my problem: In the xhtml below (listDeOSs.xhtml) when I put it this way, it does not recognize the method I made in my Bean (the bean method returns a list). JSF along with primefaces is…
-
0
votes1
answer60
viewsError using JSF Exporter lapis
I’m trying to implement the Lapis JSF Exporter I use Primefaces 5.3 jsf version 2.1.20 error occurs and the project does not go up... Apr 26, 2016 5:29:21 PM…
-
0
votes1
answer35
viewsShow itemLabel instead of ivemValue in Datatable - JSF, Primefaces
Well, I am working on a project and when saving a register using selectOneMenu of the primefaces, an Id is being displayed instead of the field name that was selected, I need to know how to display…
-
0
votes1
answer300
viewsError - JSF and Primefaces
Error trying to register user, the following message appears: accordion:dtNasc: '22-02-1990' could not be understood as a date. XHTML: <p:outputLabel class="lt" value="Data de Nascimento:" />…
-
0
votes1
answer786
viewsRender component after clicking button
I have a Yes/No button.I would like to have an element rendered below by clicking Yes. As follows in the example of my page: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC…
-
0
votes1
answer354
viewsManagedBean methods are not processed
Good morning, I am the following problem. I have an application that has several Managedbeans that are working normally. Today I went to create a new bean to do a test and this bean does not run nor…
-
0
votes1
answer1413
viewsChange theme of the first faces
I’m trying to change the theme of primefaces, downloaded all available themes using Maven and my web.xml file was like this: <?xml version="1.0" encoding="UTF-8"?> <web-app…
-
0
votes1
answer929
viewsUse external css file in JSF
given my template page: <!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"…
-
0
votes1
answer152
viewsCalling a method via datatable lines
Given my datatable below: <p:dataTable id="tabela" var="linha" value="#{naturemb.lista}" paginator="true" rows="10" rendered="#{not empty naturemb.lista}" > <p:column…
-
0
votes0
answers392
viewsUse of the p:tabview component of Primefaces
I’m using the p:tabview component of Primefaces: <p:tabView dynamic="true" id="tab_view"> <c:forEach items="#{tabbedView.listOfTabs}" var="listOfTabs"> <p:tab…
-
0
votes1
answer546
viewsEdit datatable record
Next person: On my datatable when I click the edit button, you are not opening the screen for editing. Can anyone help me where I am missing? page: <h:form id="pesquisa"> <p:panel…
-
0
votes1
answer148
viewsApplication - playing this message - javax.el.Propertynotwritableexception - not writable on type
Hello. It’s the following ,I’m not able to delete the selected fields,and my application is playing the message - javax.el.Propertynotwritableexception: /listFunction.xhtml @29,32…
-
0
votes1
answer53
viewsBootstrap interfering Imageareaselect (Primefaces)
I’m using the component, from the Extesions primefaces, called Imageareaselect. Primefaces Extesion - Imageareaselect However this Bootstrap TAG is causing the background of Imageareaselect is…
-
0
votes1
answer189
viewsHow to delete objects within a List?
Guys ,is the following... In this project I’m using JSF,Primefaces and I’m still new to programming.. the list screen is displaying the information according to the bank Only that I wanted to delete…
-
0
votes1
answer114
viewsnull return when trying to persist data
I’m having problems registration and search system while persisting in saving method of the null return, I already switched to @viewscoped my bean but nothing, debugged project and nothing, I can…
-
0
votes1
answer265
viewsProblem with the confirmDialog component of the primefaces
In the view of my java application I have a commandButton that should open an exclusion dialog, however, when clicking the delete button the dialog is not shown. The code is: <ui:composition…
-
0
votes1
answer113
viewsShow Complete string in modal
I’m using Java, JPA, Wildfly and Primefaces.I have a table that displays a text, but this text is being cut in the display by table size. I decided to create a boão that calls a modal to display the…
-
0
votes0
answers553
viewsPrimefaces - Requestcontext Update
Hello, When loading the page the method iniciarTeste() will be called as follows: <f:metadata> <f:viewAction action="#{testeController.iniciarTeste()}" /> </f:metadata> On the same…
-
0
votes1
answer63
viewsUser see only Items of the Operational unit that is in your registration
I have a vehicle management system. The company in which I work has several business units, so the user can only see the cars of the unit in which he works. This I managed to do, but whenever…