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
-
1
votes1
answer363
viewsHow to set Rendered parameter via JSF bean 2
am facing a small challenge where I need to create a Dashboard dynamically from a drop down. It is functional but there is a button in each Panel that the rendering of it depends on the existence of…
-
1
votes0
answers204
viewsJoin two <h:datatable> with jQuery without losing records after update
I have two datatables, the first one loads 5 records when loading the page and the second one is hidden and empty. Whenever the scroll reaches the bottom of the page I go in the database, I load 5…
-
1
votes0
answers32
viewsPrimefaces datascroller only loads once with Lazy
Guys, I started using dataScroller today with Lazy of the first faces <p:dataScroller ajax="true" id="listaDiarios" chunkSize="3" lazy="true" styleClass='ui-datagrid-no-border'…
-
1
votes1
answer525
viewsServlet Faces - Error in context with path
Good morning, As I have already said in another topic is not my web area but I am trying to kkkk... After adding a Responsive template named Prologue I have the following error. GRAVE:…
-
1
votes0
answers56
viewsHandle Set type attribute in datatable primefaces
I have a street, neighborhood and street table. logradouro (id, nome) bairro (id, nome) logradouro_bairro (id, id_logr, id_bairro) In the street entity, I have the mapping: @OneToMany(mappedBy =…
primefacesasked 8 years, 10 months ago Julian Luís 11 -
1
votes1
answer150
viewsIncrease menubutton box
As you can see in the image, the last line has exceeded the box limit, where I can increase the box width? The code is as follows:: <p:menuButton id="documentos"…
-
1
votes0
answers538
viewsUpdate Datatable - Ajax cellEdit (Primefaces )
Hello, I’m trying to update Datatable but I’m not getting it. Follow the code: <h:form id="testeForm" > <p:panel toggleable="true" id="panelTeste"> <h:panelGrid columns="1"…
-
1
votes1
answer400
viewsHow to Get the Primefaces Megamenu Vertical
I’m having a little problem with the Megamenu of Primefaces, I’m not able to leave it upright. I’m making a code to test, which follows below: <p:megaMenu orientation="vertical"…
primefacesasked 8 years, 9 months ago Humberto Leão 43 -
1
votes2
answers127
viewsClass that cannot be serialized
Next, I’m studying a project involving javaWeb, with jsf+primefaces. I’m using the apache tomcat 7. The problem is happening when starting the apache service to then test my application, in which…
-
1
votes1
answer290
viewsCreating dynamic tabs and combos - Jsf / Primefaces
I am working on a project that has as a basic requirement that the user can create screens to display data coming from various data sources. The user creates what we call Dashboard and includes…
-
1
votes2
answers604
viewsDisable a p:inputText by focusing the cursor on another p:inputText
Hello! I’m having trouble getting a validation. Here’s the thing... I have a form made inside the components Primefaces 4.0 that has the fields "Cellular" and "Telephone". My intention is that the…
-
1
votes3
answers1290
viewsmask jquery currency
In my xhtml I have 2 input value 1 and 2. The first input works perfectly the jquery mask for currency. More in the 2 input that is in a modal the coin mask is not working. coin function function…
-
1
votes0
answers94
viewsRecognition problems of first faces Responsive mobile
Error in recognizing Primefaces Responsive mobile. I’m using Primefaces 5.3 and functionality Grid CSS works perfectly on the Desktop, as seen in the images below. Maximized Restored But…
-
1
votes1
answer102
viewsPrimefaces component did not render as expected
As you can see in the image below, the input field is not in the layout of the primefaces. Does anyone know how I can solve? Below now follows my file . xhtml: <!DOCTYPE html PUBLIC "-//W3C//DTD…
-
1
votes2
answers1250
viewsJSF - Bar loading while executing a Java method
Good morning, I have a login screen, and when the user clicks the Sign in button, I want it to be an incone showing "loading" while the java method is running. Follow my xhtml code: <?xml…
-
1
votes1
answer30
viewsProblem in rendering
In my registration screen I have 2 buttons: Save and Come back. In case I am editing some record, the button is enabled New. My problem is when I click this button New the screen gives the refresh…
-
1
votes1
answer500
viewsLogin screen problem, if logged in user redirects to telaInicio
Good afternoon, I am with a system, I was able to filter in case the user is not logged in to the session, redirect to login screen. Only now I’m trying to do the opposite, in case the user is…
-
1
votes0
answers270
viewsJSF + Primefaces <p:selectOneRadio inside Datatable and Pagination
<p:dataList value="#{simuladoBean.questoes}" var="q" type="unordered" rowIndexVar="qi" itemType="none" paginator="true" rows="1" styleClass="paginated"> <h:panelGrid columns="2"…
-
1
votes2
answers1127
viewsValidation Login and Password Primeface and JSF
I have a very simple system of Registration and Login, I made a validation in both fields. I want to adapt this validation to something more specific like: Login does not exist Password invalidates…
-
1
votes1
answer67
viewsError in environment configuration
I’m using java JPA, with Wildfly and Primefaces and the database I’m using Mysql. I have all layers already configured (view(xhtml),DAO,Entity,MB). The wildfly datasouce is configured correctly,…
-
1
votes1
answer614
viewsJava project problems with CDI (Weld) + Hibernate + Primefaces
good night. I’m having trouble executing my project with the structure described in the title of this post. I am using Hibernate, with control of transactions by the server (JTA). Follows the…
-
1
votes2
answers1103
viewsSend selected record from a p:datatable to the form, jsf primefaces
Hi, 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 it when I select a record from p:dataTable, the data from that selected…
-
1
votes1
answer442
viewsPrimefaces autocomplete does not pass value to the bean
I have a problem with the Primefaces autocomplete component. The value parameter is not being passed to my bean. private String filtroClientes; public List<String> listarFiltroDeClientes() {…
-
1
votes1
answer760
viewsJasperreport report - Blank page - PDF report
This is the following I created the report in jasperReport I created a parameter there ,with that the data from this report it is taking from the database (Mysql) and displaying the/ But when I put…
-
1
votes1
answer633
viewsSelect Returning Null from Database
I am trying to make a Login page and am using JaVA,JPA,WIldfly,Primefaces and in the database MYSQL. I’m passing the name and password, but at the time of inspecting it returns me null, by playing…
-
1
votes3
answers1043
viewsDelete registration form, JSF Primefaces
I’m using JSF with primefaces. I have a registration screen, and I have a button to delete the form data, would be a button to clear the form to make another registration. However, this wipe button…
-
1
votes1
answer93
viewsp:First faces is showing twice the CPF name
My primefaces p:Growl is showing twice the CPF name when Cpf is invalid. I am using bean validation. <p:outputLabel for="cpf" value="CPF" rendered="#{cadastroClienteBean.CPF}"/>…
primefacesasked 8 years, 2 months ago Sidnei Ferreira 119 -
1
votes0
answers96
viewsDisplay dialog with first faces when clicking on an emptyMessage of a p:autocomplete
Well I am using Primefaces I have a field p:autocomplete to search Employees, I would like when typed a name and no results found it displayed the message "No employees found, click here to…
-
1
votes1
answer653
viewsPick row reference in table with JSF(Primefaces)
I have a scenario that presents something weird and I don’t understand why this behavior. Using JSF with Primefaces, I have a Datatable with some (several) values that comes from the Database and…
-
1
votes0
answers63
viewsError while listing data in Primefaces Dialog
By clicking on comandButonn this being loaded the last video from the list in the dialog, however in datatable works properly when displayed by the component media. I want to make it easy for the…
-
1
votes1
answer180
viewsHelp with post login menu in JSF in Javaweb
Talk to the guys, all right? I’m making a project manager in Javaweb with Hibernate, TDD, MVC, JSF, Primefaces and more I don’t remember kk, Next, when I log in to my project I make the menu appear…
-
1
votes1
answer646
viewsHow to internationalize the Timeline component of primefaces?
I’m using the Timeline component of the primefaces. Timeline Primefaces Although using the "locale" property it is not rendering in English. <p:timeline id="timeline"…
-
1
votes0
answers238
viewsPrimefaces - ColumnToggler Size
I have a datatable with a columnToggler, however I would like to remove the fields without increasing the size of the first field. I’m Using Primefaces 6.0. <p:dataTable id="cars" var="car"…
-
1
votes2
answers225
viewsInputtext returns null
I got a problem I don’t know what else to do. My idea was to have a Checkbox that when marking would show a field and when unchecking would hide this field, for that I used rendered and ajax,…
-
1
votes0
answers515
viewsDynamic menu with JSF and Primefaces when it becomes responsive does not work
I have a dynamic menu on my site, which is brought through categories previously registered in the database. Within each category, it has a list of subcategories. When I click on a subcategory, it…
-
1
votes1
answer349
viewsHide button (p:commandbutton), Primefaces, with PF api
I’m trying to accomplish something seemingly simple, but I’m taking a hell of a beating... Studying, I read that Primefaces has a javascript / jquery api, so I decided to take a look. Turns out I…
-
1
votes1
answer180
viewsSelenium perform task to the end
In tests with Selenium, running by Eclipse, when I run several at the same time. Errors happen: First, does not finish running the task opens another browser. Starts running the second test without…
-
1
votes1
answer116
viewsPrimefaces does not locate Panel and Datatable components
I’m doing a job where I use Primefaces + Ajax + Hibernate. I have a screen to include/change a client that should open in a modal every time the user clicks on the button. And in this same code I…
-
1
votes0
answers149
viewsProblem with p:datatable, ajax, ui:include
I have a problem, I have a p:datatable that does not work the "sortBy", nor the pagination. When I test the code of this table on a simple page it works, but when I use it in my project it doesn’t…
-
1
votes1
answer61
viewsBackground problems
I’m having trouble filling my background with a specific color, in this case, blue. Follow the code of my application: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"…
-
1
votes2
answers599
viewsUpdate primefaces table
Hello, I’m having trouble updating the table after removing some item from it, the item just removed from the table definitely when looking for another type. The table updates as the value of…
-
1
votes0
answers146
viewsView Image from Directory
I need to display an image in the application which is in the external directory of the application. I am using it as follows, however image is not displayed. It’s like the path is wrong. public…
primefacesasked 7 years, 10 months ago Jeremias Santos 403 -
1
votes0
answers217
viewsTree Table Primefaces does not work by selecting a Node from Java
I have a p:Tree being automatically loaded, so I need to do a search inside the existing nodes on Tree, I do the search and return the first Node I find and I want to arrow it like Selected, but…
-
1
votes0
answers278
viewsQ:Legend Primefaces Date of Previous Day
Has anyone ever had a problem with p:Legend returning the date as the day before 11:00 ? You select the date and when to send it captures as of the Previous day at 23h. Any solution? Na View: <…
primefacesasked 7 years, 10 months ago Jeremias Santos 403 -
1
votes1
answer453
viewsFirst faces pick chosen value in autocomplete
I’m working with the AutoComplete of primefaces and I have a problem. For example, the user enters a word in the combo OSW and then the dropdown lists all contracts with the term as supplier OSW. So…
-
1
votes1
answer311
viewsPass parameter with ajax
My application receives in the first field of the form a directory. Through this directory I will list the files present in it. I have a method that will list the files according to the received…
-
1
votes0
answers238
viewsPrimefaces tooltip with image and table filter
Hello I have the following situation: a table of users, and users have photos, I would like to hover over the user name, present a tooltip of the first faces with the user image, which is already…
-
1
votes1
answer799
viewsPrimefaces: Modal dialog does not open
I am trying to open the dialog of the first faces, but without success. I have the following code: Clientescadastrados.xhtml: ... <ui:define name="content"> <h:form…
-
1
votes1
answer41
viewsPrimefaces Dragdrop does not fire event
I’m trying to do exactly what’s in the documentation on DataGrid I drag the components and loose in the p:droppable, but nothing happens, it gives a revert and does not create the table as in the…
-
1
votes1
answer100
viewscan’t change my object from a datatable - JSF with Primefaces
I am retrieving my object from the datatable more at the time I redirect the datatable to another page to make a change, it shows an error. More takes the Object ID, I made a convert more…