I'm wondering though how you know that this is the same issue. The jira says nothing about inconsistent ordering of CSS resources...
If it is indeed the same issue, then there is another workaround, which is a bit less intrusive than using !important.
You can re-target the CSS resources to the body. Since all RF CSS resources go into the head, this ensures that they will precede the user specified ones.
1 of 1 people found this helpful
Have you tried placing user resources at the bottom of the page, not at the top?
ok, I see what you mean. Then my <h:outputStylesheet/> tags would get processed by Facelets after the RF components, so everything would be added to head resources in the right order.
That's a good workaround.
I know that this is more of a JSF problem than RIchFaces, but do you know if there is a planned fix for this?
Hi, sorry for revisting an old thread. I tried putting <h:outputStylesheet/> at the bottom inside <h:body/> but it is still outputing the richfaces resource stylesheets after my stylesheet:
<h:outputStylesheet target="head" library="stylesheet" name="theme.css"/>