Ultima template — anything to consider before migrating to PrimeFaces 16.0.0? #4875
Replies: 2 comments 2 replies
Running the Ultima layout/theme on PrimeFaces 16 — regressions & workaroundsSetup
After bumping PrimeFaces 15 → 16 the app compiles/runs but there are several visual and build regressions, because PF16 moved structural CSS out of Posting the findings + the workarounds we're using, in case it helps others in the same situation — and to ask whether an Ultima release targeting PrimeFaces 16 is planned. The good news first: most of the Ultima theme survives, because it uses descendant selectors ( 1. Client‑side widgets:
|
| Component | Change |
|---|---|
p:confirmPopup |
showEffect / hideEffect attributes removed |
p:accordionPanel |
activeIndex → active (activeIndex deprecated). Both are String; an int bean property still works via EL coercion |
p:graphicImage |
cache default true → false (only affects value= with a String/StreamedContent; a cache‑buster uid is appended per render) |
p:separator |
removed → p:divider |
| DataTable | CSS class ui-filter-togglable → ui-filter-toggleable |
p:selectOneButton |
option label markup span.ui-button-text → label.ui-button-text (breaks custom CSS/JS selectors) |
PrimeFlex note
PrimeFlex 4 renamed the colour CSS variables its utility classes consume (--blue-500 → --p-blue-500, --surface-0, …). A PF15 Ultima theme provides the un‑prefixed names, so PrimeFlex 4's colour/surface utilities resolve to nothing. Staying on PrimeFlex 3 (primeflex.min.css) works with the PF15 theme tokens; PrimeFlex 4 needs either the primeflex/themes/primeone-*.css token file or a regenerated PF16 theme.
Question
I noticed that the latest available Ultima version is currently 15.0.1, which appears to target PrimeFaces 15.
Is there a new Ultima release specifically targeting PrimeFaces 16 planned?
Thanks!
|
I currently prepare the release! |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
I currently have a project using the Ultima template (version 7.0.0) with PrimeFaces, and I'm planning to migrate to PrimeFaces 16.0.0.
Just to clarify: my project is already 100% migrated to Jakarta (Jakarta EE namespaces, jakarta.* imports, etc.), so that part is already done and shouldn't be a blocker.
So far, the only change I made was updating the PrimeFaces version in my pom.xml. After that single change, I'm getting a compilation error. I'll attach a screenshot of the error below.
Before I dig further, I wanted to ask if there's anything specific about the Ultima theme/template I should take into account for this migration:
Do I need to update the designer/theme SASS files (theme-base folder) to match the new PrimeFaces version, as described in the general template migration guide?
Are there any breaking changes in 16.0.0 that specifically affect Ultima's layout, menu, or CSS structure?
Has anyone here already gone through this migration on a Jakarta-based project? Any tips, gotchas, or links to relevant migration notes would be very appreciated.
Thanks in advance!
All reactions