<p:resources/> always overrides <a4j:loadStyle>

UI Components for JSF
Post Reply
praveenraja
Posts: 3
Joined: 23 Sep 2009, 15:51

23 Sep 2009, 16:36

Hi,

I am using Primefaces with Richfaces. So i am loading all my resources (JS and CSS) throw <a4j:loadStyle> tag. CSS loaded throw <a4j:loadStyle> has some Primefaces skin customization.

Even if I give <a4j:loadStyle> tag after the <p:resources/> tag in my XHTML, In HTML Primefaces resources are rendered after my user defined CSS which has Primefaces skin customization. So my customization style class is not applied.

Now i am using "!important" in my user defined CSS. it is working fine.

please suggest me is there any other straight forward solution without using "!important" .

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

23 Sep 2009, 17:25

I couldn't fully understand the problem, can you please provide the source of the related part?

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 38 guests