35,610 questions
0
votes
0
answers
96
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
54
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
0
replies
27
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
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
33
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
55
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
115
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
72
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
78
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
66
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 ...
1
vote
1
answer
84
views
Is there a non-hacky way to run Jakarta Server Faces apps from a fat jar?
The title says it all.
JSF + EJB is the perfect fit for a couple of small projects I have. I haven't been much in the JEE community for the last 10 years, and I see that a lot has changed (the name! ...
0
votes
1
answer
69
views
Primefaces: ContextMenu on Tab in TabMenu
I have a Primefaces Tabview with multiple tabs, and I'd like to add a context menu specifically to its tabs (each tab would have its own), but NOT to the whole tabview.
Online I had found this:
<h:...
0
votes
0
answers
42
views
form action attribute not using forwarded request URI
In jakarta mojarra 4.0.11 the action attribute of the form component is not using the forwarded request URI but the normal request URI.
This was not the case in javax mojarra 2.3.18 as i see now ...