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
answer12
viewsPrimefaces how to put background in a Droplist
Well I’m using Primefaces in my project and I came across the following situation, when I have an altered field that is different from the original, I have to leave a background in yellow color more…
primefacesasked 6 years ago Ederson Coelho 143 -
0
votes1
answer545
viewsConversion error when setting''to'null Converter'. - JSF
I am doing a program that registers and relates a customer to a credit card. I am using JSF and Primefaces. It is not necessary to use the Database, so I am storing the data in a same Arraylist.…
-
0
votes1
answer31
viewsNot registered with Banco Javaweb Primefaces
Productive: public class ProdutoDao implements IDao<Produto> { @Override public List<Produto> listar() { Session session = null; try { session =…
-
0
votes1
answer61
viewsProblems with the positioning of the primefaces dialog
I wanted to know a way to position my dialog at a certain distance from the left side of the screen. <p:dialog id="dialogAcesso" showHeader="false" visible="true" width="500" position="left">…
-
0
votes1
answer1261
viewsHow to change the CSS of primeNG components in Angular?
menu.component.html <p-menubar class="menuPerson" [model]="items"></p-menubar> menu.component.css .menuPerson{ background-color: olivedrab; font-size: 14px; } menu.componentts. import {…
-
0
votes1
answer41
viewsThe caption of a Chart Primefaces does not appear when I download the image
When the chart is loaded, the caption loads along, but when I download the image the caption does not appear.. Button to download: <p:commandLink onclick="return downloadImage();" style="margin:…
-
0
votes1
answer334
viewsBug in simple example JSF + Primefaces
I tried to run a simple example with JSF and Primefaces but I believe it is something related to some incorrect configuration. The application is running on Tomcat 9.0.13, below the project…
-
0
votes2
answers148
viewsItem selected in p:selectOneMenu reaches null in Systener
I have a p:selectOneMenu, with data coming from the database, within a p:dialog, along with a p:messages and other fields. I want to perform an action (Display some messages) when selecting a…
-
0
votes2
answers82
viewsHow to update an external element to p:datatable with selectionMode="single"
I’m using the component p:dataTable of primefaces with selectionMode="single" using RadioButton as a selection. I would like when selecting a table row to update my label with the value of the…
-
0
votes1
answer154
viewsPrimeng - Search multiple fields in Picklist
I’m using Picklist on an Angular 7 app. In Picklist, I need to search more than one field displayed in the container. On their website (Primeng) there is an example: Picklisttutorial On the tag,…
-
0
votes2
answers154
viewsValue selected by selectOneMenu comes null
I have a selectOneMenu that contains a list of document types, which I associate to the documents being attached in a p:fileUpload, however, the value selected by selectOneMenu comes null View of…
-
0
votes1
answer92
viewsError starting JSF application in Apache - CDI Beanmanager instance is not available in JNDI
I have a JSF + Primefaces application that runs smoothly in the development environment. But when it comes to deploying . War in Tomcat, in production, I can’t. The error in the logs is:…
-
0
votes1
answer622
viewsPrimeng p-editor error in Angular 7
I followed the documentation as the site says: example p-editor. But he gives me the following mistake: ReferenceError: Quill is not defined at…
-
0
votes0
answers53
viewsLeaving a Hidden table using javascript, primefaces and JSF
I have a screen that asks for cnjp, dtini and dtfim, status and a query button. In javascript, the query function calls another function that validates the fields. If the fields are ok, a table with…
-
0
votes1
answer156
viewsUpload the image into the context of the java jsf project
I have a project in JSF put. One of the parts is to add the image to the product by making the upload of the image. That’s why I’m using the primefaces p:fileUpload, it works, but the image is…
-
0
votes1
answer66
viewsPrimefaces p:chips, is there any way to start the list of tags with no value?
On my screen, I need the list of tags in the chips component to start empty and when I have values I need them to be set as tags, but when I try to start an empty list of tags, the component starts…
-
0
votes1
answer165
viewsJSF <p:commandLink> action is not invoked
Good evening, everyone, I have a problem, I have a commandoLink in a table that when clicked, does not invoke the method of a Bean that is in its action, I have seen some solutions like put…
-
0
votes1
answer66
viewsselectOneMenu primefaces does not send value to bean
Hello Staff I want to request a help in the first faces combobox feature, in which I rode as below but does not work, tested in various ways based on the net foruns using for example…
primefacesasked 5 years ago Pereira 99 -
0
votes1
answer131
viewsHow to take the value of a variable that is pointing to a list
Hello, I need some help with this code. I think it’s relatively simple for those who already have more experience. I’m trying to get the value of a variable, but when debugging, I see the address…
-
0
votes0
answers26
viewsSave time in format: HOUR:MINUTE using primefaces
I have a following problem, I want to save an entry time in which I type this time and I did this in xhtml: <p:datePicker maxlength="6" id="timeonly" showTime="true"…
-
0
votes0
answers17
viewsUse Datatable with Lazy within several p:tab
I’ve been looking at some places like making a datatable with Lazy, so I can only upload the page data in display and not overload the server. But all the examples used only one table. I have a…
-
0
votes0
answers10
viewsError in passing parameter Confirm Dialog Primefaces
I am using version 7 of the first faces with JSF 2.2 By clicking the delete button the parameter is not passed correctly. <p:column headerText="Ação"> <p:commandButton icon="fa fa-fw…
-
0
votes1
answer266
viewsFirst faces problem when converting an Enum
I’m having trouble converting an I made a class to convert only at the time of subtemer the form happens the following error: javax.faces.FacesException: java.lang.IllegalArgumentException: No enum…
-
0
votes0
answers5
viewsUncaught Referenceerror when trying to open a dialog of the first faces
I am having problems trying to open a dialog, in the browser console is returned the following error: Uncaught ReferenceError: baixarArquivoRemessa is not defined at <anonymous>:1:1 at p…
-
0
votes0
answers30
viewsHow to Grab Primary Key and Insert Foreign Key from another JSF Table via Selectonemenu
I’m doing a test project, and I’ve reached a point where I can’t pass a PK of one entity to be a Fk in another, I’m getting this PK ID via selectOneMenu but I try to send the value will not, always…
-
0
votes0
answers12
viewsHow to make partial submission through a dialog called in the datatable?
Hello, I have a datatable of the first faces that shows registered patients. In this datatable, I have a button that leads to a screen to inform the patient’s blood type (blood type and RH factor…
-
0
votes0
answers22
viewsLayout with bootstrap rows and columns and Primefaces
I’m developing a Layout and needed the <p:panel> occupy every blank space it contains before the ONE and Stock fields. I’m going to post two figures, where they tell you how this is right now…
java twitter-bootstrap primefaces front-end responsive-layoutasked 3 years, 5 months ago Pablo Oliveira 21 -
-1
votes1
answer461
viewsEnvers hibernate problem with class objects within a class
I have the following class. @Entity @Audited @GenericGenerator(name = "Sequence_Generic", strategy = "com.paradigma.ecred.dao.hibernate.generator.ManualGenerator") // sequence generic criado para a…
-
-1
votes1
answer471
viewsp:panelGrid component does not render, only displays text
I have a p:panelGrid which receives dynamic data as it is received by the method onItemchanged mentioned in the code. However, according to the image, the component does not render and only displays…
primefacesasked 10 years, 2 months ago user2930052 1 -
-1
votes1
answer1135
viewsHow to register a photo using Uploadedfile from primefaces? I was able to save the photo inside the photo variable but I can’t save it in the database
Console message: set 02, 2015 11:05:01 AM com.sun.faces.config.ConfigureListener contextInitialized INFORMAÇÕES: Inicializando Mojarra 2.2.8 ( 20140814-1418…
-
-1
votes1
answer89
viewsHow to create a list with Months to change the Datatable result?
I have a dataTable that brings the data of a specific month set in DAO. I would like to create a field where I select the month and it updates the table with the selected month. You have to use…
-
-1
votes1
answer564
viewsCheck user status when logging in
Hello, folks. I’m having a problem formulating my login screen and would like to ask your knowledge. I’m using Eclipse Mars . 1 to program, Primefaces for visual components and Spring Security for…
-
-1
votes1
answer588
viewsJava system sending message to mobile
Speaking personally, I am developing a Java web application with Eclipse Maven, to use in a small office, cloud-run system and access by office computers. I was asked at the end of a launch, that a…
-
-1
votes2
answers171
viewsInstall Avalon Primefaces Theme - Netbeans
I bought a theme from the first Aces (Avalon). But I have no idea how to implement it in Netbeans. Came the.jar file (Avalon-Theme-1.0.5.jar) and test pages, WEB-INF, Resources (css,fonts,images,js)…
-
-1
votes1
answer161
viewsEvent change with ajax
I need a field, when a value x is set, to render two other fields. With my current method, I can only render a single field. How do I select one? <h:selectOneMenu id="regional"…
-
-1
votes1
answer199
viewsError using outputPanel with autoupdate=true in primefaces
I have a custom component where I use the Carousel. When I click on an item from Carousel I update my managebean and need the screen to be updated. I use the outputpanel with autoupdate=true, but…
-
-1
votes1
answer203
viewsHow to correctly use jsf and primeface templates
I made a template and called it inside another page, but what I apply on the second page does not work. In index.xhtml I write a phrase to test, but it is not printed on the screen. Only the…
primefacesasked 6 years, 6 months ago André Nascimento 1,258 -
-1
votes1
answer301
viewsHow to disable a commandButton in Primefaces according to the return of a Boolean method implemented in the bean?
I have a button to delete a file that I just want to appear to the user if my class has records. Just follow his code: <p:commandButton icon="ui-icon-trash" value="Excluir"…
-
-1
votes1
answer37
viewsError when selecting data saved in BD via a <p:Selectonemenu>
I’m having trouble loading a user’s data into the form. Man selectOneMenu is loaded(correctly) with a list of guys however the TYPE object entered in the User record is not being selected during…
-
-1
votes1
answer20
viewsHow to update a button inside a <ui:repeat>?
Let’s get to my problem. I have two <p:commandLink> inside a <ui:repeat>. These buttons simulate checkbox. Then I would like to click on them to update the specific line within the…
-
-1
votes0
answers8
viewsSearching/ sorting with Lazy datatable of the primefaces with columns that are class component attributes
I have a datatable Lazy of the first faces that I need to filter and research, in the Lazy datatable of the first faces every time page, filter or order is executed the following method public…
-
-1
votes1
answer19
viewsPage does not return Managedbean
I’ve seen several similar posts, but it didn’t help much. My problem is very simple. I have a form page that will record data and display in a table using Managedbean. But when I click to write, the…
-
-2
votes1
answer187
viewsSortby in JSF, brief explanation of what he does?
Could someone give an explanation as to the function of sortBy in the JSF?
-
-2
votes1
answer114
viewsWhat are the reasons for migrating an application to a newer technology
I wonder what you think about that? What are the benefits? Thank you.
-
-2
votes1
answer65
viewsJava Web with Primefaces and Hibernate
I have problems with the Primefaces Dialog. I have a Dialog that will appear when I click on a commandButton, in the oncomplete method, of a datatable. This Dialog will have another datatable that…
-
-2
votes1
answer253
views"JSF - HTTP Status 404 - Not Found" what can it be, even doing the suggested steps?
I’ve been programming for 32 years, but beginner in Java, so whoever votes negative, gentileza comenta o motivo... What may be obvious to you may be unattainable to others. I started a web project…
-
-2
votes1
answer154
viewsChart primefaces does not take Selectonemenu variable
I am trying to pass a Selectonemenu variable to a Chart of the first faces and I believe the program updates the Chart before passing the variable. <p:outputLabel for="listagem"…
-
-3
votes1
answer216
viewsSend data to the server with javascript and then retrieve it
People I am with following problem, I need to send the data of a page to the server and after being able to recover this data, I was seeing an option to send this data of the page with an event…