primefaces.skin is deprecated, use primefaces.THEME instead.

UI Components for JSF
Post Reply
harish.seipl
Posts: 21
Joined: 15 Dec 2010, 07:53

25 Feb 2011, 16:07

I am Using primefaces layout. when i navigate through the layout, some of the functionality are not working properly. It throws a following error
1.primefaces.skin is deprecated, use primefaces.THEME instead.

but when a navigate to page directly doesnt throw any error also function properly.
Please update me with the solution

MikeK
Posts: 104
Joined: 13 Oct 2010, 15:07

25 Feb 2011, 17:19

Basically in 2.2.1 A Theme is used instead of a skin. You probable have to download a new version of the Theme you are using from the Primefaces website and set the context param in your web.xml. It is documented in the users manual.

Code: Select all

    <!-- this code turns off the Primefaces default skin when it is enabled.  This
    is needed in order to use other Skins. -->
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>yourtheme</param-value>
</context-param>
Prime Faces 6.2
Mojarra 2.2.14
Apache Tomcat 9.0
Internet Explorer 10,11

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 43 guests