19,209 questions
1
vote
0
answers
13
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
41
views
Primefaces 15: Dynamically set theme
How can I dynamically set a Primefaces theme? Ultimately, I'd like to be able for my application to toggle from dark mode to light mode, depending on the users' OS setting.
ThemeBean.java:
import ...
0
votes
0
answers
138
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 ...
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
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
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 ...
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
36
views
How to detect click or edit start on PrimeFaces <p:inplace>?
I'm using PrimeFaces and working with the <p:inplace> component. I want to detect when the user starts editing (i.e. when the inplace switches from the output state to the input state), for ...
0
votes
0
answers
47
views
PrimeFaces wizard with dynamically loaded tab content not work on Chrome, Firefox is OK
I have page with a treemenu where I select desired input types for below wizard. The wizard has only two tabs - inputs (with dynamically loaded content by selection from above treemenu) and the output ...
1
vote
1
answer
66
views
PrimeFaces autoComplete looses focus inside a dataTable
I am using a autoComplete inside a dataTable. When I open the dropdown, the autoComplete looses focus and I can not enter anything. If I am using the autoComplete outside a dataTable, the autoComplete ...
0
votes
0
answers
63
views
Primefaces datatable dynamic columns filter
I use Primefaces 7.0. I'd like to filter multiple types of dynamic Primefaces datatable columns with different type of filter components. How can I do this?
<p:dataTable id="itemsTable&...
2
votes
1
answer
91
views
Primefaces not checking disabled status on radio-button selectItems
In a basic radio-button example:
<h:form>
<p:selectOneRadio value="#{radioBean.text}">
<f:selectItem itemValue="one" itemLabel="One"...
0
votes
0
answers
49
views
Primefaces table load wrong value
I’m using PrimeFaces with a p:dataTable configured for lazy loading with pagination. Here's the relevant part of my DataTable:
<p:dataTable id="formInstanceListTable" selection="#{...
1
vote
1
answer
45
views
p:commandButton icons from fontawesome
i would like to put icons from fontawesome in my p:commandButton, since i was told they are supported natively by PrimeFaces and work similar to PrimeIcons icons:
How its supposed to be:
icon="fa ...
0
votes
0
answers
27
views
Failing to import Primefaces to JSF Java project [duplicate]
This has to be a really simple/stupid problem, sorry. Any indulgence would be much appreciated.
So I got a trivial Hello World tutorial example running in JSF, without Primefaces. But then I try to ...