35,591 questions
Advice
0
votes
1
replies
50
views
Is there a way to define a component or fragment of elements and reuse it multiple times, all in the same JSF page?
The title pretty much sums it up.
I'm aware of the possibility of creating your own custom tags with ui:composition, or having multiple ui:insert with the same name, but they all require defining the ...
1
vote
1
answer
52
views
PrimeFaces fileUpload listener is never invoked on Payara
I am trying to run a Jakarta EE 11 application on Payara Server 7 and I am facing a problem with file upload not working at all.
Initially I suspected PrimeFaces, but the same issue occurs with ...
0
votes
0
answers
102
views
How to notify ViewScoped bean from SessionScoped bean with no active request/view context
I have a Quarkus + Camel + JSF app/service which receives messages from AMQ Artemis. The receiving bean is ApplicationScopped and it also re-sends certain events to specific SessionBean(s).
I have ...
0
votes
1
answer
60
views
How to add URL hash to action or outcome attribute
Is it possible to add URL hash myHash to a faces outcome or action attribute like:
<h:link outcome="/sites/test.xhtml#myHash" value="test">
<f:param name="foo&...
Tooling
0
votes
1
replies
57
views
How to use Eclipse 4.37.0 IDE for Jakarta Faces (Facelets) 4 with autocomplete tag support
In Jakarta Faces 4, there are no longer any TLD files. How can I still use auto-completion in Eclipse 4.37.0 for developing facelets?
0
votes
0
answers
219
views
Update from TomEE 9 to TomEE 10 - massive performance descrease in faces web application
We recently migrated our PrimeFaces 13 application from TomEE9 to TomEE10 and found a massive decrease in performance (Factor 2 or more).
Our Environment:
Primefaces 13.0.8, ojdbc11:21 , Oracle 19c ...
0
votes
0
answers
44
views
JSF composite component field not working from ui:include inside another composite component
Java 21 and Wildfly 37.0.0:
Seeing this weird thing where I'm creating a new composite component, but the field passed into it is null when residing inside a <ui:include> within another ...
Advice
0
votes
0
replies
34
views
PrimeFaces 14: rowsPerPageLabel not showing in DataTable paginator
After updating Primefaces version 13 to 14, the rowsPerPageLabel attribute on <p:dataTable> no longer displays the text for dropdown label after setting the attribute "rowsPerPageLabel"...
0
votes
0
answers
58
views
JSF page : why am I getting a "Syntax error in EL" in eclipse editor?
I have a JSF primefaces page with this expression : #{userSearchBean.getModuleTabTitle(module)}
In UserSearchBean I have this method :
public String getModuleTabTitle(String s) {
return "123&...
1
vote
1
answer
132
views
IllegalStateException: CDI is not available
I have a JSF application which I'm rebuidung to using JoinFaces and Spring Boot 3
The dependencies I'm using are:
jsf-spring-boot-starter version 5.3.13
jakarta.faces:jakarta.faces-api version 4.0.1
...
1
vote
1
answer
46
views
Selection on expanded row in DataTable is not working
Describe the bug:
In my attached code I have a parent table with multiple rows (rows are expandable) when I expand it and try to select a sub-row, it doesn't get selected,
Note: both parent table and ...
0
votes
0
answers
41
views
JSF EL with undefined variable handleRenderException
I'm currently migrating a project to a new workstation, and I've noticed that now, when an EL expression contains an error, the file processing stops with a handleRenderException. For instance :
#{'x'...
0
votes
0
answers
73
views
PrimeFaces SelectCheckboxMenu: “Deselect all” doesn’t work when required="true"
Context
I’m using a PrimeFaces <p:selectCheckboxMenu> bound to a List in a JSF view. The component is marked as required. I render the currently selected items below and allow removing ...
0
votes
1
answer
80
views
Eclipse Migrate to TomEE Plus 10.1 - Jakarta EE Maven Project - css resources return code 404 [duplicate]
I have a misconfigured project and have been unable to track down the culprit.
--------------- Begin Edit -------------------
Adding for context as Basil rightly commented that the project history was ...
0
votes
0
answers
70
views
primefaces datepicker mode range date reorder
I use primefaces 14 component DatePicker with mode range. Is there any ways to configure the date selection like, if first date selection is bigger than the second one, than the DatePicker will ...