1 of 1 people found this helpful
I somehow managed to load css after page load.
Used h:body onload="jsfunc()" and some jQuery code to append css at the end of header. The blink of loading css is notable, but should be ok for now. In the future there should be something to allow us loading css files after framework, no?
Well, thanks for answering my question and helping me.
Luckily other people do get useful answers. This is the solution (last post):
Also Brian is wrongly suggesting to use target="head" on h:outputStyleSheet, that is done by default and there is no such property.
Sorry - my bad, I had the h:outputScript in mind when I wrote target=head. OTOH, I wasn't suggesting you explicitly set the attribute, I was merely pointing out that the stylesheet link will still be rendered in the head regardless of the fact that the h:outputStylesheet is written in the facelet body.
Glad to hear you found a solution to your problem though!