Search code examples
javaprimefacesresponsive-designfacelets

Primefaces Responsive design


I wonder if there is a framework, or a library that allows me to develop a web application using Primefaces and the template or layout is responsive according to the screen display.

Thank you very much for your help!


Solution

  • (Sorry for the late reply here, it popped up on a search). I've had pretty good luck using Twitter Bootstrap with Primefaces. Generally speaking you're going to need to pay attention to data-tables and all the other components that don't work well with mobile, but overall I've been pretty happy.

    Additionally Primefaces has a skin to support the look and feel of bootstrap so you can do a lot right out of the box.

    Downside? It is going to look like a bootstrap application. Upside? You don't need to do all the responsive work up front and for most sites that's enough.