35,777
questions
0
votes
0
answers
59
views
Control+Click on EL expression in Facelets not working in Eclipse after migration to Jakarta EE
I recently migrated project from javax to Jakarta EE v10, jdk 11 to 17, and Tomcat 10.1, primefaces v13
In earlier project, when I opened .xhtml files, and pressed control and clicked on any java ...
0
votes
0
answers
28
views
Why validation doesn't reset?
I'm trying to reset the error-state from a JSF component.
I saw a lot of questions about it, but I would like to try to avoid javascript/ajax if possible.
The component:
<div class="form-group ...
1
vote
1
answer
24
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&...
0
votes
1
answer
25
views
NullPointerException when I invoke method from @Schedule of @Startup @Singleton bean
When I try to invoke method of @ViewScoped Bean from @Startup @Singleton bean I always have an error NullPointerException. I use @Schedule annotation method to call @ViewScoped bean method, why it ...
0
votes
0
answers
29
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:...
-1
votes
0
answers
47
views
Eclipse autocomplete for java variables/methods not working in xhtml files [duplicate]
I recently migrated project to Java 17, primefaces v13, myfaces v4, Jakarta (from javax), and spring boot
For older project, if I pressed ctrl+space even for java classes/variables in .xhtml files, ...
-1
votes
0
answers
13
views
JSF OCPSoft automatically redirect request of unwritten URL to rewritten one
we are using OCPSoft Rewrite library to create pretty rewritten URLs. This works great and as expected but we now want to redirect the original unwritten URL to its rewritten since the same resource ...
0
votes
0
answers
15
views
How to write latest JSF (pom.xml)? (NoClassDefFoundError:ApplicationFactory) [duplicate]
I use JSF project generator ( https://start.jakarta.ee/ )(choose: Jakarta EE 10) and try to write some JSF page.
But met many problem, and last:
/jakartaee-hello-world/pom.xml
<?xml version="1....
0
votes
1
answer
37
views
The class 'packageName.DonacionBean' does not have the property 'donar' - Action method not detected? [duplicate]
I'm facing an issue with a Java project that uses EJB and JSF, and it's been quite frustrating. I have a simple setup where an XHTML file calls a method defined in a managed bean.
Here's my .xhtml:
&...
1
vote
0
answers
41
views
p:calendar time picker is displaying in a wrong position
When I click on the box it should open a popup in which you can set both hours and minutes.
This is how it should appears
This is how it usually appears
This is the part of code corresponding to the ...
1
vote
1
answer
27
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 ...
1
vote
1
answer
32
views
Error "websocket is null" with <f:websocket> in a JSF page
Context : Jakarta EE 10, Payara 6.2024.7, Web profile. Java 21.
My application uses the OpenAI API and LangChain4j for un "customized" Chat.
In a Web page a form sends a question into a ...
1
vote
0
answers
27
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 ...
1
vote
0
answers
31
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 ...
2
votes
1
answer
41
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:...