-
1. Re: Customizing RF look - when skins are not enough (css order problem!)
jlpktnst Nov 15, 2011 7:19 AM (in response to jlpktnst)1 of 1 people found this helpfulI 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?
-
2. Re: Customizing RF look - when skins are not enough (css order problem!)
jlpktnst Nov 25, 2011 7:59 AM (in response to jlpktnst)Well, thanks for answering my question and helping me.
Luckily other people do get useful answers. This is the solution (last post):
http://community.jboss.org/thread/163588?tstart=0
Also Brian is wrongly suggesting to use target="head" on h:outputStyleSheet, that is done by default and there is no such property.
-
3. Re: Customizing RF look - when skins are not enough (css order problem!)
bleathem Nov 25, 2011 1:21 PM (in response to jlpktnst)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!