Skin Blue?

Locked
Dapcapix
Posts: 6
Joined: 28 Sep 2010, 19:48

13 May 2015, 14:14

Hi,

I'm unable to change the skin theme to blue. I could only change the layout to blue.

My template.xhtml

<h:outputStylesheet name="css/spark-layout-blue.css" library="spark-layout" /> (Is working layout is blue)



My web.xml

<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>spark</param-value> (It's not working , the component of the skin is green)
</context-param>


Example primefaces web.xml

<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>spark#{themeView.color}</param-value> (Which parameter for the skin to be blue ?)
</context-param>

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

13 May 2015, 18:30

Code: Select all

<context-param>
    <param-name>primefaces.THEME</param-name>
    <param-value>spark-blue</param-value>
</context-param>

User avatar
rmruss
Posts: 19
Joined: 17 Apr 2015, 16:40
Location: Brazil

05 Jun 2015, 15:20

Even you do change color theme alive, the <ps:menu> background will still be green. You have to set this up like Optimus told so, but then you won't be capable of changing the theme color alive.

We have chosen the Optimus solution, cause we don't care about live theme color changes :-)

So we have fixed it on blue one.

Locked

Return to “Spark”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 15 guests