Page 1 of 1

How to integrate rio layout+theme in non maven project?

Posted: 12 Sep 2015, 10:13
by Satya
I have an existing web project (non maven project) with following.
Environment : JSF 2.2 + Spring 4 + Spring Security + Hibernate 5 + Primefaces 5.2 + Netbeans 8(IDE)

I bought Primefaces-rio theme and want to integrate with in my project.

After downloading the rio layout + theme i got the below folders + jars
tag (folder)
rio-2.0.1.war
rio-layout-2.0.1.zip
rio-theme-2.0.1.jar

How to integrate rio layout+theme in my project? Please reply.

Re: How to integrate rio layout+theme in non maven project?

Posted: 16 Sep 2015, 12:53
by mert.sincan
Please add;

- rio-theme.jar in your project
- in web.xml

Code: Select all

<context-param>
        <param-name>primefaces.THEME</param-name>
        <param-value>rio</param-value>
</context-param>
- files in rio-layout-2.0.1.zip (template.xhtml, topbar.xhtml, layoutmenu.xhtml, java/*, resources/rio-layout/*, ..)

Re: How to integrate rio layout+theme in non maven project?

Posted: 20 Sep 2015, 21:12
by Satya
Thank you for your reply. We followed your instructions and they are helpful.

Satya.

Re: How to integrate rio layout+theme in non maven project?

Posted: 21 Sep 2015, 08:17
by mert.sincan
Glad to hear, thanks;)