Even now I used JSF+Primefaces in my projects and this give me a lot of new components (from primefaces) to work.
But my new customer required a good layout for the Administrator Panel (Responsive + Clean + Beatiful). Searching in http://themeforest.net/ i found a lot of great layouts but almost everything is for bootstrap.
So, my doubt is: Can i continue using primefaces (take advantage of powerfull components) and using a layout for bootstrap ? Is there some limitation ?
Yes you can use Bootstrap together with JSF. We do so in most of our JSF projects. You can use the standard JSF styleClass attribute to style JSF components with Bootstrap CSS rules (this is equivalent to class in normal HTML.
PrimeFaces for JSF PrimeFaces is a popular open source framework for JavaServer Faces featuring over 100 components, touch optimized mobilekit, client side validation, theme engine and more. GET STARTED.
PrimeFaces is a JSF component library. It was one of the first which supports JSF 2.0 from top to bottom. It contains large set of rich components which utilizes jQuery and jQuery UI under the covers. It supports the jQuery UI ThemeRoller CSS framework.
PrimeFaces, a popular JavaServer Faces (JSF) UI framework, can be used to quickly develop sophisticated applications for the enterprise or for standard websites. This article focuses on how to efficiently build data-driven applications for the enterprise using PrimeFaces.
I recommend using BootsFaces along with the Bootstrap theme of PrimeFaces (see http://showcase.bootsfaces.net/integration/PrimeFaces.jsf). BootsFaces reduces the boiler plate code needed to write a Bootstrap page. Plus, it offers a couple of widgets that fit better into a Bootstrap page than their PrimeFaces counterpart. We've designed BootsFaces as a plug-in to PrimeFaces, so you can safely use both together.
I have started a project called AdminFaces. It integrates Primefaces and Bootstrap into a new theme, called admin. This theme integrates some bootstrap style into primefaces components like panels, buttons, messages, datatable, tab view and so on. It also brings a template based on the famous Admin LTE bootstrap admin template.
You can have a look at showcase here: https://adminfaces.github.io/admin-showcase/
The project is in early development stage (e.g: only snapshots are available) so any feedback or contribution is really welcomed.
Version 1.0.0 was released, see details on the project blog here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With