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
answer111
viewsWhich version of the primefaces Extensions is compatible with the primefaces 3.5?
I use primefaces 3.5 in my project and I intend to use Primefaces Extension. I would like to know what the newest version of Primefaces Extension is is compatible with version 3.5 of Primefaces.…
-
1
votes1
answer654
viewsImage upload problem with more than 10mb primefaces
Guys, I’m going through a very boring and seemingly simple problem and I haven’t found a solution yet, so can someone help me? I’m using the upload of the first faces and it just doesn’t upload…
-
1
votes0
answers94
viewsLine graph does not render (p:lineChart)
xhtml code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"…
-
1
votes1
answer355
viewsPrimefaces - Is it possible to change the chartline chart color?
Use primefaces 5.2 and I have the following chart: what I would like to do is to leave the part below the line, in blue, but I have not found anything similar on the web, someone knows if this is…
primefacesasked 10 years, 2 months ago Jason 23 -
1
votes1
answer512
viewsHow to limit the number of characters in an inputNumber?
I’m using the Primefaces extension to format a input the weight and height of a person and could not. How do I limit the amount of characters typed in input? I tested with maxlength="5" but it…
-
1
votes1
answer125
viewsHibernate saves twice the entity executed within the primefaces dialog
When the save button is on the page it works normally and saves the entity but I open a dialog to confirm the data to be saved and Hibernate saves twice very strange method to save outside the…
-
1
votes2
answers1298
viewsHow to integrate Spark Theme - primefaces with Maven
Can anyone help me with my problem? I’m trying to integrate Spark Theme with Maven to move up the theme. Meanwhile, I’m having a hard time. http://www.primefaces.org/spark/ I looked at the…
-
1
votes1
answer74
viewsWhat is the name of this component below?
Have some component ready with primefaces do what the image illustrates below? I need to do this with JSF and I’m half lost. The idea is that yes is an auto complete, but if he does not find…
-
1
votes0
answers73
viewsJava EE Cloud Primefaces
I would like to know if Java with Primefaces and its managed Beans work well in the cloud, I mean, my question is whether this architecture supports working in the cloud to build a web system with…
-
1
votes1
answer294
viewsHow to set a Spinner value to an object
I have the following table: <p:dataTable id="tabelaDisciplinasSelelecionadas" var="disciplina" value="#{disciplinaBean.droppedDisciplinas}" rendered="#{not empty…
-
1
votes1
answer345
viewsHow to insert a text into a p:editor?
I have a <p:editor /> and need to insert predefined text at the current cursor position. I’ve been looking in the documentation of Primefaces and found nothing similar (I can clean using…
primefacesasked 10 years ago NilsonUehara 3,105 -
1
votes1
answer1345
viewsPrimeface uploadFile + graphicImage: Upload image and display without refresh
I’m starting to program on jsf + primefaces. A long time ago I worked with JSP(java 1.4) and I’m kind of lost. I’m looking to upload an image and have it displayed below. xhtml images. <?xml…
-
1
votes1
answer133
viewsCapitalize
I have an input and I would like that when the user type the letters will be uppercase by the effect of javascript. Without the form I can, more when I put the form does not work. ` <ui:define…
-
1
votes1
answer1083
viewsInserting Image in Database with Java Web
I’m having trouble inserting an image into a database. I already have a saving method and I’m including a photo field, but I’m not sure how to implement to upload the image. Whoever can help me,…
-
1
votes0
answers99
viewsShow and receive response from a p:confirmDialog triggered via Managed/CDI Bean
I have a view with a save button, but the method that runs on the save button does some checking on the bean and asks the user if they really want to save. Show dialog:…
-
1
votes0
answers748
viewsView PDF in a Dialog
I am wanting to change the way the user views the system report I am developing, currently by clicking the button to view the report, is given the option for the user to download or open directly in…
-
1
votes1
answer900
viewsJSF - how to send information to another page
I have a orderList for the operator to select the customer’s name. After he selects I need to direct him to another page with the customer’s data. How do I pass on customer information that has been…
-
1
votes2
answers542
viewsHow to update a line(Row) in datatable? (Primefaces)
Hey, guys? Please, can some Javelin ninja help me with this case? I have a datatable and need to know how to update a single Row after an event, such as a click on a commandButton. I studied a…
-
1
votes2
answers201
viewsWhy does Tree not come with a value, but with the name of the object in memory?
Error image Managed Bean package com.algaworks.erp.controller; import java.io.Serializable; import java.util.List; import javax.faces.view.ViewScoped; import javax.inject.Inject; import…
-
1
votes1
answer83
viewsFormat word if it is in a datatable
Given my datatable: Mark the word Atack. Is it possible to create a check that if this word is in the datatable it gets a different format? Ex: Bold and the color is Blue.…
-
1
votes1
answer25
viewsSymbols of the ternary operation appear on the screen
As can be seen in the line below, I am using a ternary condition on my screen: <h:outputText value="#{naturemb.nature.id == null} ? #{msg['cadastrando.nature']} :…
-
1
votes1
answer238
viewsUpdate an h:outputText from a p:autocomplete database
I have a medical care application and I have the following question: when to use the component p:autoComplete of Primefaces to search for the name of the patient who has the attribute…
-
1
votes0
answers237
viewsPrimefaces Menubar does not enter div
Good night. My menubar is not entering the div in which it is contained. <header> <h:graphicImage library="img" name="logo.jpg" id="logo"/> <h:form> <p:growl id="messages"/>…
-
1
votes0
answers185
viewsSpark Charts primefaces chart
I’m using primefaces to do my graphics, but I have a problem. The graphics generate right, but I have to move the mouse to display the values as in the following example: I want the values to always…
-
1
votes0
answers162
viewsalgaworks JSF Primefaces not echerga void methods
I’m studying Primefaces with CDI of some video classes I’ve been watching but something is happening that at least strange . I have a bean gestaoEmpresas There are two methods, one void consultar()…
-
1
votes1
answer6426
viewsPutting an image as background on primefaces
how do I put a background image in primefaces. I’ve tried some shapes but none worked out. The closest to a good result I arrived was using <p:graphicImage/> but when I minimize a menu or do a…
-
1
votes1
answer50
viewsAbout button rendering
Hello, folks. I’m putting together a program that works with user registration. In this project there is a screen to consult registered users. The problem is as follows: in the Register Search…
-
1
votes1
answer320
viewsAdd Primefaces to the project
What is the procedure (step by step) for me to add the first faces to my project? I already have the jar in the machine, but this jar it stays inside the Maven dependencies? I have to make which…
-
1
votes1
answer78
viewsView does not communicate with MB
I’m using Primefaces, Javajpa,and Wildfly, there’s not much there but my doubt is the following: my view is not seeing my MB, when I rotate gives the following error: Target Unreachable, Identifier…
-
1
votes0
answers72
viewsSaving whole object instead of name only
Hi, guys. I’m having a problem storing livestock records at the bank. The situation is as follows: I have two Selectonemenu on my screen where one is dependent on the other. One is to indicate the…
-
1
votes1
answer1624
viewsDifference between process and immediate
in JSF, what is the difference between immediate and process attributes? In my view both seem to have similar functions.
-
1
votes1
answer692
viewsFile . properties in java code
My JSF application I’m using a file. properties to store the texts, etc. I already use calling the keys inside the .xhtml. file How do I call the keys in the code . java ? My class Util: package…
-
1
votes1
answer611
viewsDatatable with Rowexpansion Editable not Update - Primefaces
I have a DataTable which expands the line into a DataTable editable, in the expansion it is possible to add items, by the button "+ Item", everything is working correctly, but I cannot update the…
-
1
votes0
answers167
viewsHow does the Spring JSF integration work, and how does the Internalresourceviewresolver Filter participate, and how should it be configured for your integration?
I am studying to start a project of a distributed Web system, which will have simple interfaces in some contexts, but others will require an interface structure that will make it necessary to adopt…
-
1
votes0
answers41
viewsUpdate on component created with Composite does not work
Staff created a component using Composite <composite:implementation> <p:dataTable id="#{cc.attrs.id}" </dataTable> </composite:implementation> But when I call it in my code it…
-
1
votes1
answer791
viewsUpload photo in java form
I need to make my form send and save a photo in the database and show later, how I should do ? I declare what type of variable in the Client entity? String or byte ? I know the first faces have a…
-
1
votes1
answer93
viewsLogic to inhibit record permanently
Guys I have a "big problem" and I can’t think of anything to solve it so I’d like your help. I have a desktop system that is the intermediary between the server and my web system. This desktop…
-
1
votes1
answer1831
viewsSending of sms by Java
Speaking personally, I am developing a financial application that I was asked to send a text message to the main administrator. I’m using Java web, Mavem,jsf, Hibernate. Could someone give me a…
-
1
votes1
answer1546
viewsChange the line color of a datatable
I am using JAVA,JPA,Primefaces, I have a datatable that summarizes a stock.I want to color the rows of the table if the check value to the minimum of each product, I do not know how to proceed,…
-
1
votes2
answers551
viewsDisplay External Image to Server p:graphicImage
I’m using it this way: XHTML: <p:graphicImage value="#{emitenteBean.myImage}" Bean: private StreamedContent myImage; try { FileInputStream fileInputStream = new…
-
1
votes1
answer271
viewsselectonemenu and dialog of primefaces
Hello, everyone. At the moment I’m having a problem with prime faces which is a library of visual components of Java. The problem I am having is the following: On the login screen of my system,…
-
1
votes1
answer641
viewsPick up object by clicking on a commandLink in the Datatable
I’m trying to catch an object by clicking on a commandLink that is in each column of Datatable, but always from the nullPointerException error. Can anyone help? I’m doing it this way:…
-
1
votes2
answers260
viewsPrimefaces Dialog Tabview
I have a dialog where there are 2 tabviews, I click to display the dialog and switch between tabs, after closing if return to Tabview it returns with the last tab visited and I need it to return to…
primefacesasked 9 years, 1 month ago Jeremias Santos 403 -
1
votes1
answer91
viewsHow to scan a signature with java
I need to get a signature on a document but I wouldn’t like to print it. Can anyone indicate a signature pad that works with the first faces ?
-
1
votes1
answer177
viewsShow text while hovering on autocomplete
I have the following autocomplete: <p:autoComplete id="meuId" label="#{messages['mesage']}:" completeMethod="#{metodo}" var="bean" itemValue="#{bean.id}" itemLabel="#{bean.descritivo}"…
primefacesasked 9 years ago Roknauta 2,811 -
1
votes1
answer531
viewsDatatable does not update immediately after "action"
I have a DataTable with some data when I select a table row and click on finish process that row is saved in my database with the status Finalizado and the Cargo user logged in but this row only…
-
1
votes0
answers121
viewsInput spaces when writing something
I have an application in Java Web, I have an input text and I would like to put a button or something like that, because when I type something inside this input, if the user wants to go click this…
-
1
votes2
answers2639
viewsconfirmDialog does not work
I have a delete button inside my dataTable, but every time I click on it confirmDialog does not appear. I am doing as follows: <p:column style="width: 100px; text-align: center"> <p:button…
-
1
votes1
answer499
viewsdynamic "message" of p:confirm - Primefaces
Can anyone tell me how to change the message of <p:confirm>? When you click the button I want the value of message is returned by the method messageCount(). ... <p:outputLabel…
-
1
votes0
answers38
viewsJava-ee, primefaces component order list
Has anyone ever worked with the first-face component orderlist? Because I want to use it in my project and I’m not getting it, could you help me? You are generating an exception and also do not know…