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
answer166
viewsjavax.persistence.Entitymanager.createQuery(Ljava/lang/String;Ljava/lang/Class;)Ljavax/persistence/Typedquery;
I have the following problem in developing my application’s user authentication and password: jun 30, 2016 8:49:27 AM com.sun.faces.lifecycle.InvokeApplicationPhase execute ADVERTÊNCIA:…
-
0
votes1
answer267
viewsWorking with associative tables
I want to add to a table, the users who registered a team. So that in the future can list all teams of a certain user. However, I have the following problem: In my personal table The class that…
-
0
votes1
answer500
viewsDisplay coordinates on map with Gmap
I want to get coordinates from the database and show them on the map along with the marker, but I can’t. I think something is missing from the view. It should show only the last location data stored…
-
0
votes0
answers260
viewsuser editing screen does not load data, and delete method does not delete
Take a look at the codes: <?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"…
-
0
votes1
answer631
viewsJSF + Primefaces update component when switching pagination
<p:dataList paginator="true" value="{bean.lista}" var="lista"> </:dataList> <h:outputText value="qualquerCoisa" id="teste"/> How do I update outputText 'test' every time the…
-
0
votes2
answers1255
viewsUpdate datatable after deleting record
after deleting a record in my datatable, I want it to be reloaded, I’m not getting it. Someone gives a help? <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML…
-
0
votes0
answers43
viewsHow to implement Fileupload in a Hibernate project with JSF?
I’m with a JSF project with the DAO model using Hibernate, and I’m having a hard time understanding how to save the image in the database. I would just need to know what the method would look like…
-
0
votes1
answer1886
viewsHow to pass data from a Datatable line to a Dialog in Primefaces
I have a Datatable in which I have several data and a select button. When I click the select button I call a Dialog with a few more fields. I would like to click on the button select it to take the…
-
0
votes1
answer181
viewsAbout Selectoneradio
Hello, guys. I’m creating a program that manipulates user registration. Each registered user has fields such as name, rg, Cpf...... and a field called status, which shows the status of this client’s…
-
0
votes1
answer283
viewsField of research
Hello, everyone. I’m putting together a program that has the user registration function. The program is done in Java, xhtml and I am using Primefaces to generate the visual components. In this…
-
0
votes0
answers66
viewsp:fileUpload component is not limiting the files contained in allowTypes
Component p:fileUpload is not limiting the files contained in allowTypes. Has anyone ever had this kind of problem? <p:fileUpload id="certificado" mode="simple" dragDropSupport="false"…
primefacesasked 8 years, 3 months ago Jeremias Santos 403 -
0
votes0
answers94
viewsProblems with foreign key
Hey there, guys. I am creating a system that controls user registration and I have a problem regarding a foreign key that is imported from another class into the Users class. When I change the state…
-
0
votes2
answers2498
viewsProhibit duplicate registration
Hello, guys. I’m with a program that works with user registration. In this program I would like to implement a function that prohibits the registration of Cpf or email that already exists in the…
-
0
votes2
answers191
viewsnull return when registering new product, but when editing I can save give no error
Hello guys I’m having jsf application problems, cdi, when new product registration give null return, but when editing makes editing normally. give error ago 28, 2016 12:52:37 AM…
-
0
votes1
answer57
viewsWrite data from one inputText into another inputText
Guys I’m using JAVA, JPA, Primefaces... In my view (xhtml) I have a login screen, how do I pick the name the user typed and write in another inputText field?
-
0
votes2
answers409
viewsid problem already exists in view
Hello, everyone. I have a . xhtml file that is giving an id error already found in the view. The error itself is GRAVE: JSF1007: frmPesquisa:id duplicate component ID found in view. I searched on…
-
0
votes1
answer117
viewsp:dialog being called by several Buttons in the system
Personal I have a dialog (do primefaces) confirming the ZIP Code number and after the user has entered the residence number in this dialog the fields address, neighborhood, zip code, city and Uf…
-
0
votes1
answer572
viewsCalling javascript function on Managed bean
I am using the JSF framework with primefaces 6.0 and as I am new, I am having difficulty calling a javascript when finishing a bean method with scope @Requestscoped. How can I do that? Is there any…
-
0
votes1
answer230
viewsPrimepush Eventbus does not work and will give errors
I am started to learn in practice with Primefaces to give PUSH. Follow the link http://www.primefaces.org/showcase/push/chat.xhtml I implemented the codes following this link that I posted above,…
-
0
votes1
answer83
viewsFormat value p:slider jsf
Hello, I have a component p:slider q goes from R$ 0 - R$ 5000. The problem is that I do not know how to format the values in the Brazilian currency. someone can help me?
-
0
votes1
answer329
viewsJasperreports report with multiple parameters
I have a report on JasperReports, is working properly. However, from the way it is, step only one meter each tipofrom the jsf page to the report, the screen is as per the image: What I need now is…
-
0
votes1
answer160
viewsHow can I select this Datatable?
I created a datatable of variable columns whose collection takes place from a list of objects with several different attributes. In detail, I have an Avaliaprojeto class, which has a Projeto…
-
0
votes1
answer223
viewsChange style Facesmessages
As shown in the figure, the FacesMessages has the following standard formatting: It is possible to change the background and font styles ?…
-
0
votes1
answer474
viewsJava Framework for Ecommerce-style Website
good night! I would like the opinion of those who are active on which is the most suitable framework for developing a site in the E-commerce style using java. I was thinking about JSF 2 + Primefaces…
-
0
votes1
answer18
viewsPlace of message display
Look at the image below: Note that the validation message appears at the top, as I do so that it appears next to the corresponding fields and no longer appears at the top ?…
-
0
votes2
answers763
viewsIs it possible to compare items from two lists and if there is similarity between items do not display this item in a datatable?
I have a list that is populated by data from an xml file and another list that is returned from a query in the database. I wonder if it is possible to compare an existing code in these 2 lists. If…
-
0
votes1
answer262
viewsUpdate datatable in primefaces
How can I update my dataTable without needing to restart the application? The way I am doing the table is updated after a F5, but if I give F5 again, it gets outdated again. For example: I have 3…
primefacesasked 9 years, 5 months ago DiegoAugusto 8,694 -
0
votes1
answer227
viewsp:selectOneMenu does not update value within ui:repeat
The context is the following, I have a list of objects AvaliaProjeto, containing: Project Discretion Stopover Valor The project is selected from the outside, the criteria are listed so that their…
-
0
votes1
answer175
viewsp:primefaces editor tabindex does not work
In a view . xhtml I use the p:editor of the first faces <p:editor id="idDescription" tabidex="2" > ... When the tab key is pressed, after being in field 1, tabindex="1", it does not go to the…
-
0
votes1
answer57
viewsProblems saving with selectOneMenu.
I’m trying to save a record of Activities with information from Favored. I cannot save in any way. I will put the code and please if anyone can help me thank you. < package br.com.sentinel.Bean;…
-
0
votes3
answers109
viewsValue is not being written to the bank
I have the following entities: package br.com.pokemax.modelo; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import…
-
0
votes2
answers644
viewsLine break in data from a list
I have a dialog that shows on the screen the data received from a list: <p:dialog header="#{zona.nome}" widgetVar="vendedores" minHeight="40"> <h:outputText…
-
0
votes0
answers23
viewsp:Dialog p:tabview Reset
I have a p:dialog where inside it there is a p:tabview, the button that triggers the Dialog has an Action which calls a method to initialize the screen data, but when opening the Dialog, go through…
primefacesasked 7 years, 11 months ago Jeremias Santos 403 -
0
votes0
answers94
viewsPrimefaces Tabview Dynamic
I’m having trouble using Dynamic="false" in p:tabview of Primefaces. If I inform as Dynamic="true" everything works normal, however if I inform false that is my need, when clicking the button it…
primefacesasked 7 years, 11 months ago Jeremias Santos 403 -
0
votes0
answers40
viewsFirst faces generating primefaces.css.html file
Primefaces is generating css and js files with extension . html, for example, primefaces.css.html. This file is reported as a potential vulnerability. Does anyone know how this file is generatede?…
-
0
votes0
answers212
viewsLinking data from two different tables
I have two database tables one customer call, another municipality, and in the table "client" I have the items (Cdclient, Nmclient, Status and Cdmunicipio), in the table "municipality" I have…
-
0
votes1
answer2562
viewsTarget Unreachable, Identifier 'usuarios' resolved to null
My bean: package com.cliente.Bean; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.faces.bean.ManagedBean; import javax.faces.bean.ViewScoped; import…
-
0
votes1
answer74
viewsHow to change getRealPath() save location? Photocam primefaces
I’m trying to use the Photocam component of Primefaces, it’s working, but the image is saved within the target of the application. I want to move the rescue site. Follows an excerpt from the code.…
-
0
votes1
answer470
viewsNullpointerexception Selectonemenu [JSF + PRIMEFACES]
On a JSF page about a car shop, I first select the brand of the car and then choose the model. However, when selecting an item from the first "Hyundai" menu, it gives NullPointerException and I…
-
0
votes0
answers50
viewsAccented words with problems
In many projects jsf I don’t remember if I’ve ever had a problem like this but as the image below shows, the encoding is not correct. The problem is occurring in the java because I have accented…
-
0
votes0
answers57
viewscolor a datatable using date
I’m just testing, I want to leave the source red if the date is less than or equal to today but nothing is happening tried with '2017-02-21' '21/02/2017' and does not work my css: .vermelho { color:…
-
0
votes0
answers95
viewsCalling a report with sub-report from a Managedbean
Someone has an example in Java of how to call from a Managedbean a report with sub-report? I already have the report with the sub-report working well in ireport,but when I try to call from the…
-
0
votes1
answer1182
viewsException <p:ajax> Unable to attach behavior to non-ClientBehaviorHolder Parent
I am using JSF, Primefaces in my Java EE project. When I use the Primefaces component orderlist, returns me an exception on the screen and I don’t know what exactly it is, it happens the moment I…
-
0
votes1
answer948
viewsView PDF JSF primeFaces
Staff I am creating a pdf file up ai beauty. Now I would like to display this PDF in a formulário.Xhtml Below is the code I use to create the pdf in case someone can help me: Creapdfbean class…
-
0
votes2
answers2083
viewsPick selected line from datatable
I have a dataTable with the data in front of each given one button, when I click one button dialog is opened so that I can edit this data, but I cannot take the object that was selected to pass as…
-
0
votes2
answers205
viewsTable does not update correctly after editing
I have a dataTable and in the last column I have an edit button that opens a dialog with a field to be filled. When I click edit the table is updated with the edited data, but if I give an F5 the…
-
0
votes1
answer654
viewsMethod being called twice when loading page
I have a system JSF+PrimeFaces and a page where I have a datatable, this datatable is filled in as follows: <p:dataTable value="#{tarefaBean.listar()}" id="tarefaTable" var="tarefa"…
-
0
votes1
answer997
viewsLogico Javascript Operator Error on JSF page
I have a JSF page where I use the primefaces. When I use the logic operator in my javascript functions, it displays this problem: the entity name must immediately follow the '&' in the entity…
-
0
votes2
answers804
viewsJava jsf image
I am wanting to place an image on a netbeans JSF page, but the page does not display the image. I’m calling the picture in my code like this: <h:graphicImage library="resources/imagens"…
-
0
votes0
answers45
viewsHow to integrate my User into Spring Security xml
I’m starting to learn Spring Security and I’m having some questions. In the past I used to authenticate users using phaseListener. I have the User MB where your scope is @SessionScoped. How can I…