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
answer197
viewsIs it possible to modularize JSF registration formularies?
The question is this... although the problem does not involve JPA/ORM I find it interesting to contextualize. My little project has a @Entity Addressee and as the name suggests it is an entity…
-
1
votes1
answer259
viewsUpdate message
I have the following screen: <?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">…
-
1
votes1
answer211
viewsUpdate dialog component
I have the following dialog: <p:dialog header="#{encomendaController.objeto.id == null ? msg['cadastrando'] : msg['atualizando']} Encomenda" widgetVar="cadastroEdicao" minHeight="80"…
-
1
votes1
answer179
viewsChange Dialog is not displaying data
I have a Maven project that is using jsf, jpa and primefaces in which there is a dialog that is being used to do the altualization(update) of the data, only, inputText is empty when it is called…
-
1
votes0
answers140
viewsA boolean button and dynamic menu with jsf Programming java html primefaces jsf
Hello, I need to make a Boolean button with jsf (primefaces) and html and a dynamic menu that one button calls another, only I have no idea how to do. Can anyone help me? I started doing something,…
-
1
votes2
answers110
viewsAdjust only one component
With this css I change all inputs of my autocomplete : .ui-autocomplete-multiple ul{ padding:0; background-color: red !important; } The problem is that I need to have only one screen and not all, as…
-
1
votes1
answer430
viewsMethod being called several times in the change event of a p:ajax
I have a table with a p:inputText with a p:ajax inside, the same holds the event change, when I fill that inputText with a value a query and some validations are performed. The problem is that when…
-
1
votes0
answers43
viewsPassing data from one view to another
I am trying to implement the following function, when the user clicks the edit button, it would send to the page "create" only populated. but when I try to do so, he sends but with nothing. in my…
-
1
votes1
answer271
viewsJSF problem in Logoff method
Good night I have the following problem, I have a JSF application and I need to do a logoff command, I did several and all gave the same result, it "kills" the user’s session (logs in), but does not…
-
1
votes0
answers80
viewsDisplay database image in datatable
I saved an image in the database and want to display in dataTable PS: I know that it is not good practice to store image within the database, this practice was done for study purposes. <h:form…
-
1
votes2
answers703
viewspass several parameters in the ireport
I have the following problem: I created in java a selectcheckbox, where the person will select multiple objects; when sending to the managed bean, I can receive these listed objects. I now want to…
-
1
votes1
answer194
viewsNull in Primefaces Component Uploadfile
I am having trouble trying to recover that file,file, in my bean. .xhtml <h:form id="form" enctype="multipart/form-data"> <p:fileUpload value="#{bean.file}" skinSimple="true" mode="simple"…
-
1
votes0
answers46
viewshow to use query with more than one field (Moldel .vo) in a datamodel
I have the following query and I am willing to put this list with products and the sum in a datamodel list. public List<Filtro> listarProdutosDoGerenteRegional() { try { return…
-
1
votes0
answers429
viewsMenu Toggleable Primefaces
I have the following code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"…
-
1
votes0
answers203
viewsDisplay confirmation dialog before closing tabview tab primefaces
I’m developing a jsf web application that I need to work with tabs (similar to Chrome). For this, I am using the tabview component of the first faces that has been very useful so far. The problem is…
-
1
votes1
answer514
viewsCalculate the total Sales Revenue
I have a consultation page that shows the total of the revenue for each product and I want to calculate the total of the sum of the recipes but is going wrong. The correct summing in the hand gave…
-
1
votes1
answer66
viewsJSF REQUESTS
If I make a Request for my bean and this bean will make a query in a list. A list of Cpf for example. Can I update the client of this request to each result of this loop made in the bean? I ask this…
-
1
votes0
answers43
viewsRun search update on button
My search field updates a selectManyMenu whenever something is typed in it <p:inputText id="txtFiltroOrgaoDestino" value="#{mBManifestacao.txtFiltroOrgaoDestino}" style="width: 350px">…
-
1
votes1
answer447
viewsChange color of a line in the datatable when checking a checkbox
I am developing an application using the bootsfaces framework in Javaweb. On one of my screens I have a datatable of bootsfaces with the values coming from my Bean and a checkbox of the first faces…
-
1
votes1
answer726
viewsp:inputText is not updating
I have in the following code, a form that works both to change and to add an entity. The logic is this, I have a variable alteracao. if alteracao == true the form will behave to change if alteracao…
-
1
votes0
answers221
viewsPrimefaces graphics with transparent background
I am developing a Javaweb application using the Primefaces framework. On one of my screens I have a p:Chart but I need this graphic to have its transparent background. I tried to change the…
-
1
votes2
answers342
viewsProblem with @form Primefaces - JSF
I have a problem in Auto update @form of primefaces, it should automatically update the datatable but is not working. Below is JSF and managedBean. Thank you! Products <h:form>…
-
1
votes1
answer338
viewsCapture the value of the selected item in selectOneRadio with Javascript
I have this Primefaces component: <p:selectOneRadio id="mercado" styleClass="teste"> <f:selectItem itemLabel="Interno" itemValue="I"/> <f:selectItem itemLabel="Externo"…
-
1
votes2
answers349
viewsExchange input class when completed
I’m making a form using primefaces, and I wanted my input to change class when it was filled, only going back to the previous class if the user deleted the content. This is to make the outputLabel…
-
1
votes0
answers168
viewsPrimefaces datatable sortby does not work
Good morning, you guys. I am new to the forum and I would like your help in the following situation. My datatable sortBy is not working properly. The datatable simply loses its table format and…
primefacesasked 6 years, 11 months ago Mauricio Carvalho 11 -
1
votes2
answers392
viewsReplace jquery with pure javascript
I have a jquery script to automatically remove a class from a div if browser javascript is enabled. <script type="text/javascript"> $("#scriptT").removeClass("noscript"); </script> But…
-
1
votes3
answers709
viewsReplace javascript Alert
The system form I develop is full of Alerts to warn the user that he cannot leave that field without filling it out. The problem is that Alerts are very uncomfortable, and so I wanted to replace it…
-
1
votes0
answers402
viewsJava Vehicle Card Validation
Someone already knows how to validate the new vehicle plates? Vehicle plates should start using Mercosur standard 6 months from now Instead of 3 letters and 4 numbers, as it is today, the new plates…
-
1
votes1
answer35
viewsJAVA Nullpointexception
by clicking on my button in the view the parameter is not arriving in my attribute java responsible for the button public Map<String, Object> getFiltroGlobalMap(){ Map<String, Object>…
-
1
votes1
answer40
viewsError when trying to display the information of an object in a <p: dialog/>
I am developing a system using JSF, Primefaces, JPA, Maven and Postgresql. I’m new to JEE and I’m having difficulties with the use of Primefaces, so let’s get to the problem: I have a customer…
primefacesasked 6 years, 5 months ago Daniel Verissimo 33 -
1
votes1
answer89
viewsPrimefaces how to fire the Blur event and update the data
I am in need of a help with the Primefaces, I need in this event below that is already halfway forwarded an example that I took from the Primefaces itself more that later I will adapt to what I…
-
1
votes1
answer18
viewsProblems with if no managedbean
I have a login form with the registration and password fields. I am trying to validate this login where only the number "92018" can log in to the system, but when the login method is called, it does…
-
1
votes0
answers44
viewsJSF + Primefaces = Fullajaxexceptionhandler
I am developing an application using JSF + Primefaces, in the code of a screen has the following button <b:commandButton value="Pesquisar" look="primary" style="width:100%" process="@form"…
-
1
votes1
answer82
viewsI can’t display anything in a JSF view
I’m working on a web application to develop a module, but I can’t display anything in the view, not even a simple message. The view loads the template, but does not display anything I put in the…
-
1
votes0
answers21
viewsDatatable page two deletes List
I’m using Primefaces 6.2 with Hibernate 4.3 without JPA or Spring. I need to show data on the screen, where I have a Dialog and inside it a Datatable with a button that will open another Dialog. I…
-
1
votes0
answers26
viewsNullpointexception problem in JSF and Primefaces
Good afternoon! I am having problems with a xhtml form made in JSF, because it is not setting the values in Usuariobean, and when I will execute the method register() present in the class…
-
1
votes1
answer149
viewsHelp to view the Megamenu primefaces
Good colleagues, I’m having trouble with the Megamenu component of primefaces I’d like the components to be visible to users but they’re hidden behind the central region, so I’d like to bring it…
-
1
votes0
answers31
viewsValor Autocomplete
Good afternoon, I would like to know how to use the value entered in the autocomplete field in my Controller, even if it is null and not a vehicle registered in the BD. <p:outputLabel…
-
1
votes2
answers109
viewsLinks in the menu do not work with Javascript - Primefaces
I have a file called Menu.xhtml which has the entire menu structure of my project. However, clicking on any link in the menu does not open the destination page, the function of expanding and leaving…
-
1
votes2
answers688
viewsHow to load a Selectonemenu based on Select Previous using JSF?
I am trying to register a Neighborhood based in the City and the selected state. The list of the city depends on the state selected. Follows my code: <div class="form-group">…
-
1
votes1
answer417
viewsAngular 7 - Remove/Update objects from a list and update in DB (Primeng - Picklist)
I’m using the Primeng picklist, just like this tutorial: picklist tutorial I am using the event onMoveToTarget and onMoveToSource to get the object information: <p-pickList…
-
1
votes1
answer254
viewsAngular 7: Error trying to install Primeng
When executing the installation command the following error occurs: MacBook-Pro-de-Alisson:nutriclinweb-ui alissonfernando$ npm install primeng --save npm ERR! Unexpected end of JSON input while…
-
1
votes1
answer324
viewsHow to fill an inputText based on another inputText?
I’m a beginner in JSF, Primefaces. I have a form and I would like that when a field received a certain value, another field would return information from the Database. Example: On the field…
-
1
votes0
answers25
viewsProblems retrieving the Datatable object in P:Dialog
I have a datatable that lists all the students, and I have a button that opens a modal, in this modal I want to continue manipulating my datatable object, for this I use the…
-
1
votes0
answers714
viewsError accessing Webcam.js - Error: Webcam is not Loaded yet
I’m getting this error while accessing Webcam.js Error: Webcam is not Loaded yet I’m already using secure connection plus error persists. I’m using Primefaces, the component photocam. Application…
-
1
votes2
answers83
viewsselectOneMenu with convert does not work
I have a selectOneMenu where I am populating with the database data but the same is coming with the memory address (see image), and not the value I want. I tried to solve using the example of this…
-
1
votes0
answers106
viewsMethod in p:commandButton is not called
In my view you have p:commandButton with a method that adds an item to a p:datatable. By clicking the button to call the method to add the first item, it is correctly added to the datatable, but by…
-
1
votes0
answers19
viewsPrimefaces Tabview Component Disappears
Hello, I am testing the Tabview component with mandatory fields included in each tab. I use ajax with update="@form" to update the component, but when I click on another tab, the Tabview bar simply…
-
0
votes1
answer2195
viewsHow to sort and disarray a JSF datatable by clicking on the column?
Good guys, I have an application in JSF, I would like to know how to sort and disorganize datatable when clicking the column, in this table there are 6 columns and 3 of them I would like to click it…
-
0
votes1
answer1314
viewsjava.lang.Nullpointerexception on chat system
I am doing a chat project Helpdesk with JSF 2.0 and Primefaces, but an error is generated when I try to connect the Attendant or user in chat. In atendente.xhtml and index.xhtml has a form that…