Hi I am newbie in this techniques. I download the Primefaces from here. The primefaces.jar
have only setup with the aristo theme
. but I need to apply the bootstrap
theme in my site. I download twitter bootstarp css. How to configure this theme into my JSF primefaces
.
Asked
Active
Viewed 1.5k times
1

Ranjith
- 2,779
- 3
- 22
- 41
-
possible duplicate of [Primefaces theme configuration](http://stackoverflow.com/questions/13689731/primefaces-theme-configuration) – Aritz Nov 12 '13 at 12:06
1 Answers
5
You can not. However PrimeFaces already has a theme named as Twitter Bootstrap. Also they've explained why bootstrap files shouldn't be mixed into PF in that link. If you want to apply that theme to your project, download theme jar and configure your web.xml:
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>bootstrap</param-value>
</context-param>
Or, see that showcase example to let user to select a theme: showcase example

Ömer Faruk Almalı
- 3,792
- 6
- 37
- 63