On a JSF page, an external CSS file is included as follows:
<f:facet name="last">
<h:outputStylesheet library="css" name="custom.css" />
</f:facet>
In this file a class is defined:
.myCustomClass{
background:#D94040;
}
And last, this .class
is assigned to an p element:
<p:column class="myCustomClass">
This works fine with Java EE 8/Primefaces 8. But after upgrading to Jakarta EE 9/Primefaces 10, the CSS are no longer applied.
Does anyone have an idea why the background color is no longer displayed in the browser?
Thanks!