Reputation: 2819
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
.
Upvotes: 1
Views: 14909
Reputation: 3822
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
Upvotes: 5