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
primefaces.skin is deprecated, use primefaces.THEME instead.
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
Mojarra 2.2.14
Apache Tomcat 9.0
Internet Explorer 10,11
-
- Information
-
Who is online
Users browsing this forum: No registered users and 43 guests