Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
31 views

No behavior available in Primefaces widget

I want to fill an Primefaces inputText field by Javascript and trigger then the change event. In my understanding of the documentation of the inputText widget the callBehavior function would be the ...
Naryxus's user avatar
  • 87
0 votes
0 answers
42 views

PrimeFaces FileUpload Not Working - Primefaces - 14.0.6, Tomcat - 10.1.31

I am using PrimeFaces 14.0.6, Java 17, Spring 6, and Tomcat 10.1.31, jakarta.faces (Mojarra) - 4.0.9. I am trying to implement file upload functionality using PrimeFaces, but when I upload the file ...
user2731629's user avatar
0 votes
0 answers
27 views

PrimeFaces InputNumber is changing value type in webpage after losing focus

I'm having an issue with one of the PrimeFaces inputNumber component. It seems that, after losing the hover of the component, the type of the value inside the inputNumber change from a decimal to a ...
user28202689's user avatar
0 votes
0 answers
13 views

checkbox rendering issue after upgrading primefaces

I have two checkbox's it should render based upon the conditions but for me the both checkbox are rendering I got this issue after upgrade Primefaces to 12.0.0 and JSF to 4 this is the checkbox code ...
user28178805's user avatar
2 votes
1 answer
41 views

How to Reapply Custom Extender Logic to PrimeFaces p:schedule After update() Call?

I'm using the PrimeFaces p:schedule component in my JSF application with a custom JavaScript extender that adds additional content to each event using the eventContent property in FullCalendar. ...
zahraa's user avatar
  • 94
0 votes
0 answers
17 views

selectCheckboxMenu in PrimeFaces is not sendind the data to the java class that manage the fron end

I have a project with Java and Primefaces. The java class has a list of DevicesTypes that are loaded from the database and then the User can update them. The problem is that the list is not received ...
Mariano Cali's user avatar
0 votes
0 answers
74 views

Jakarta PrimeFaces 'p:commandButton' won't execute my 'action(Listener)' [duplicate]

Jakarta JavaFaces 'h:commandButton' (OK): <h:form id="form"> <h:commandButton value="h:doButtonActionListener" process="@this" actionListener="#{...
NOTiFY's user avatar
  • 1,396
1 vote
0 answers
53 views

Where are the Java classes BarScale, CategoryTicks and BarOptions.IndexAxis?

I am migrating from PrimeFaces 13 to 14. The migration guide says the new chart component allows raw JSON or XDEV Chart.js Java Model. I copied the Java code for the bar chart example from the ...
Jorge Campins's user avatar
1 vote
1 answer
86 views

After upgrading PrimeFaces 6.2 to 12 the <p:messages autoUpdate="true"> does not show up anymore

We have upgraded JSF from 2.2 to JSF-4.0 (jakarta-faces-4.0.5) And Primefaces from 6.2 to 12.0.0-jakarta we made changes according to the upgrade like namespace changes and attribute value changes ...
mannam jayanth's user avatar
1 vote
2 answers
55 views

NoSuchMethodError when Exporting PDF with PrimeFaces and OpenPDF

I am working on a JSF application using PrimeFaces 14.0.3 for PDF exports. <p:commandButton id="btnPdf" ...
Buddhika Ariyaratne's user avatar
0 votes
1 answer
40 views

PrimeFaces Jakarta 14.0.4 dataExporter does not export PDF

<h:commandLink> <p:graphicImage value="#{resource['images:exportIcons/pdfExport.png']}" width="40"/> <p:dataExporter type="pdf" target="...
OsmanBalci's user avatar
0 votes
0 answers
58 views

Why primefaces ajax rowSelect event oncomplete method argument id is empty?

My code: <h:form id="form"> <p:dataTable var="article" value="#{articleTable.articles}" lazy="true" selection="#{articleTable....
Robert's user avatar
  • 1
0 votes
0 answers
18 views

How to solve the required that blocks the automatic loading of a field from another field that is an autocomplete in p:datatable

I'm using an autocomplete to load the libelle of my object into a libelle field, and I remind you that both fields are required (autocomplete of type object and libelle of type string). Now my problem ...
Codeur-14's user avatar
1 vote
1 answer
47 views

Primefaces Autocomplete Converter similar to omnifaces.SelectItemsConverter [duplicate]

I am working on a web application using primefaces. I have an autocomplete field that gets its value from a pojo object. I would like to know if there is a converter solution similar to omnifaces....
chvd's user avatar
  • 11
0 votes
1 answer
38 views

How to call javaScript from Controler on Firefox?

I'm trying to call JavaScript from bean. Script it work correct but when try to run it from bean get a error: Uncaught ReferenceError: funkcjaKolorujPredkosc is not defined It is import to xml: <h:...
Eiten's user avatar
  • 139
1 vote
1 answer
33 views

Text in Primefaces Tree cannot be copied

I need the data within the tree to be copied for user friendliness. For some reason the text cannot be selected. <p:tree id="tree" value="#{valid.value}" var="var&...
Reynaldo Salamat's user avatar
0 votes
0 answers
34 views

Primefaces 14 and Java 21, Error in streaming dynamic resource / java.io.IOException: Connection reset by peer [duplicate]

I'm using @SessionScope from org.springframework.web.context.annotation.SessionScope; It happens when I download the file using p:fileDownload <p:column styleClass="w-4rem"> <h:...
Chit Ko Ko's user avatar
0 votes
0 answers
56 views

How to enable CSP nonce for Primefaces version 5.2

Can any one guide me how to enable CSP for primefaces version 5.2 or any older version? I see the documentation for enabling CSP but those are for newer versions. Can we add our custom scripts to make ...
prosenjit banerjee's user avatar
1 vote
1 answer
46 views

Primefaces import enum all option does not work with JSF PROJECT_STAGE is set to Production

I have this Java EE Web project where I am using Primefaces for UI components. I am using this import enum feature provided by Primefaces with an all-suffix. When my JSF PROJECT_STAGE is set to ...
Amit P's user avatar
  • 544
1 vote
1 answer
60 views

Primefaces native upload not working with PrettyFaces (OCPSoft Rewrite)

I need to migrate my application to Jakarta EE 10, and here are my current configurations: JDK 1.8 Primefaces 12.0.x PrettyFaces 3.3.3 I have updated my pom.xml with the new dependencies, replacing ...
Marco Tedesco's user avatar
1 vote
0 answers
39 views

PrimeFaces Theme Designer Stuck on "Setting up..." – How to Fix?

I'm trying to use the PrimeFaces Theme Designer to customize the theme for my JSF application, but when I load the Theme Designer, it gets stuck on the "Setting up..." screen and never ...
zahraa's user avatar
  • 94
2 votes
1 answer
82 views

Display value on each bar of the primefaces Bar Chart

Is it possible to show value on / in/ above each bars on Primefaces BarChartModel. I did not found this functionality. I use primefaces 13.0.0 i jsf application. I woul like to have somthing like this:...
Eiten's user avatar
  • 139
1 vote
1 answer
53 views

PrimeFaces PickList custom localization

I have a picklist like this one: <div class="card"> <h5>Advanced</h5> <p:pickList id="pojoPickList" value="#{pickListView.countries}" var=&...
berger-devel's user avatar
0 votes
1 answer
41 views

Primefaces dataTable not rendered correctly after change page

I created a notifications tray. Firstly its structure was coded using p:tabView tag and two tabs, each tab with a p:dataTable inside. When I try to change the page of one of the p:dataTable, the new ...
AngelAvila's user avatar
1 vote
2 answers
42 views

How to use widgetVar in Javascript in Selenium in Java with PrimeFaces?

Javascript is working after setting the option: chromeOptions.addArguments("--enable-javascript"); But I am still looking on how to use widgetVar from PrimeFaces to get hold of a PrimeFaces ...
dragoness's user avatar
  • 146
-2 votes
1 answer
65 views

ContextMenu of Primefaces Datatable only update the first time, the next times not work

i have a problem with Primefaces ContextMenu inside a Primefaces Datatable. When i do click in the unique entry of ContextMenu, this update a panel inside a a dialog and show the dialog. The first ...
Blrackerd's user avatar
1 vote
0 answers
89 views

CSRF attacks problem on JSF and Primefaces

Recently, my web page has passed a pentest and the company that did it has found a problem with the CSRF attacks. I am using: Primefaces 10.0.0 Wildfly 23 I have read that Primefaces 10.0.0 has ...
Marc Jordana Vilà's user avatar
0 votes
1 answer
227 views

PrimeFaces chart changes between 12 and 14

I am trying to upgrade from PrimeFaces 12 to PrimeFaces 14. Chart data is deprecated in version 12, inside my bar chart model I am using chart data. Any suggestions with rewrite in this scenario. I am ...
Virat27's user avatar
1 vote
1 answer
65 views

Primefaces Dialog inside tab not working with modal="true" and appendto="@body"

The dialogs work fine when they are not inside any tab. But I have some pages inside tabs and in those pages, if I make modal="true" and @appendto="@body", I do not see my changes ...
user2101's user avatar
  • 133
0 votes
0 answers
68 views

SpringBoot PrimeFaces page is blank

I have a spring boot primefaces hello world project: primefaces-demo ├── src │ ├── main │ │ ├── java │ │ │ └── com │ │ │ └── example │ │ │ └── primefacesdemo │ │ ...
maryem neyli's user avatar
1 vote
1 answer
41 views

Primefaces Schedule component demo link Broken

Primefaces Schedule component demo link Broken. Anyone have an idea on what's happening? Cannot find version 12 in Github Thanks
Roger Castillo's user avatar
3 votes
1 answer
35 views

Primefaces: dynamically change update atrribute of a <p:ajax element?

JSF, Java Server Faces, Primefaces. I am struggling to find a solution on how to change the update attribute of a <p:ajax Scenario: A Dialog with a <p:ajax to capture the close event <p:...
Peter's user avatar
  • 61
0 votes
0 answers
19 views

is there way to add inputText into Datatable and update all datatable inputTests in one shot outside the table ? (primefaces) JSF

iam using java primefaces, i have Datatable contains InputText in each row, i need to update database based on inputText for all rows in one button, currently i have add a listener for each inputText ...
Ahmad Tar's user avatar
0 votes
1 answer
45 views

p:graphicImage with @requestscoped bean phaseId null

I try load image from a stream with @RequestScoped bean. I use JSF and JavaEE7 with Primefaces 7.0 and Wildfly 9. <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="...
Papp Zoltán's user avatar
1 vote
2 answers
50 views

How to validate that each <p:cellEditor><f:facet name="input"> with required="true" is filled out?

So i have this JSF code that will show a column of datatable and each of column must be filled. I also put the rowEdit button in the right side. so before the user fill the data, they must click the ...
Diti Merita's user avatar
1 vote
1 answer
28 views

Use PrimeFaces PF widget selector with classes

I've looked at the Primefaces selector for the "update" tag here: How do PrimeFaces Selectors as in update="@(.myClass)" work? I was wondering if there was something similar for ...
Holden's user avatar
  • 235
0 votes
1 answer
68 views

Show pdf file uploaded by user in PrimeFaces

I have a widget to upload a file, and I want to preview the file after upload. I am using p:media tag but it is not showing the uploaded pdf file. However, I have another widget where there is an ...
Himanshu Joshi's user avatar
1 vote
0 answers
103 views

How to specify the jakarta classifier for PrimeFaces in Ivy?

I'm trying to use the primefaces-jakarta version of PrimeFaces in my project. In Maven, I can easily specify the classifier like this: <dependency> <groupId>org.primefaces</groupId&...
Lehnert's user avatar
  • 11
1 vote
1 answer
96 views

PrimeFaces Captcha not working as expected

I want to add captcha validation while registering the user. I am using p:captcha. The keys are setup properly, and I can see captcha in my local machine. But on server, after validating captcha and ...
Himanshu Joshi's user avatar
0 votes
0 answers
49 views

Primefaces fileUpload - not able to capture the file/event

I'm trying to upload a file using PrimeFaces, but the fileUploadListener method isn't being invoked after the upload finishes. view: <p:layoutUnit position="east" header="...
Leopold's user avatar
2 votes
1 answer
215 views

Browser's behavior UTF-8 page with extra character like U+FFFE (ERROR by ajax) XML Parsing Error: not well-formed

We are developing some JSF web applications with PrimeFaces. It is possible in inputText to copy/paste text with a non UTF-8 character like `` (Here is the character) and save the page. But there is ...
László Tóth's user avatar
0 votes
0 answers
35 views

unable to access the components of p dialog in primefaces

I am using prime-faces and want to integrate 2 pages for that I used tab view to show the 2 pages in a single page using tabs. one of my pages has a p dialog panel, when I implement tab view I am ...
harish nune's user avatar
0 votes
0 answers
29 views

Primefaces datatable group unselect all the rows when checkbox is unselected

I am using Primefaces 8.0 I have datatable with group row and by default all rows are selected. When i unselect second checkbox, i want to unselect both USA-North and USA-South. how to do that? ...
AAPJ's user avatar
  • 49
1 vote
1 answer
60 views

Primefaces Datatable: how to default select a checkbox which is disabled

I have a datatable and a particular row's checkbox is disabled. But it is not showing as selected. I want to show it as selected by default though it is disabled default. Please help me how to do that....
AAPJ's user avatar
  • 49
2 votes
0 answers
49 views

p:commandLink in facet inside a form causing warning log that it's not inside a form

I created a composite component that renders a form and an ul like this: <h:form id="formid"> <ul> <composite:renderFacet name="listItems" /> </ul&...
Tim Döring's user avatar
-1 votes
1 answer
69 views

Java Primefaces Dependency Managed Bean [duplicate]

I have been suffering and trying many times to create a really simple project with primefaces from tutorials. I have done a lot of them and all of them don't work for me. They all insert only one ...
Piterek237's user avatar
0 votes
0 answers
51 views

Primeface13 openDynamic doesn't work NPE exception

I'm using Primeface13, java8 and tomcat9 and I'm trying to open a new page using openDynamic. I have my test2.xhtml page under webapp folder and my level1.xhtml page under WEB-INF/tag/level1.xhtm. In ...
Andrea P.'s user avatar
0 votes
0 answers
27 views

How to pass a Junit Test for a Primefaces FileUploadEvent

i have a doubt about how to pass a JUnit test for a Primefaces FileUploadEvent. The methods is this: public void cambiarLogoCrear(FileUploadEvent event) { cambiarLogo(event, false); } private ...
Blrackerd's user avatar
0 votes
0 answers
40 views

Cannot retrieve selected date value in Java backend from primefaces p:calendar

I have a primefaces p:calendar component, from which I select different dates. I need to get the selected date value in Java, but none of the approaches I tried seems to work, as I always get a null ...
Maria1995's user avatar
  • 491
0 votes
0 answers
34 views

primefaces add message to upload file component not working

I 'm using Primefaces to upload files, I want to check the size of all the files that will be uploaded if the size is over the limit. I've managed to check the size of all files but I cant display any ...
nayomi's user avatar
  • 137

1
2 3 4 5
387