Create, package, and customize stunning themes using PrimeFaces
About This BookBuild PrimeFaces themes that meet the industry standardsCustomize your themes for mobile web applications with PrimeFaces MobileA precise, example-oriented guide to help you create interesting themes using the PrimeFaces toolsWho This Book Is ForIf you are a Web Designer who wants to create and modify PrimeFaces themes then this book is for you. Basic knowledge of JSF, CSS, and HTML is assumed.
What You Will LearnUse Maven to create JSF ProjectsCreate a custom theme using JQuery UI toolsPackage your theme for distribution and use your PrimeFaces-based web applications as drop in librariesDevelop additional dynamic look and feel elements that themes do not already supplyApply look and feel elements dynamically to views without causing page refreshesReduce code repetition by applying page templates to your JSF projectIn DetailDeveloping stunning themes for web applications has never been easier! PrimeFaces delivers a powerful set of features that enables JSF developers to create and customize awesome themes on the web. It is very easy to use because it comes as a single JAR file and requires no mandatory XML configuration. With more than 30 out-of-the-box themes, jQuery integration, a mobile UI toolkit, Ajax Push technology, and much more, PrimeFaces takes JSF application development to a whole new level!
This book is a hands-on example-rich guide to creating and customizing PrimeFaces themes using available tools.
Beginning with creating a JSF project and integrating the PrimeFaces library, this book will introduce you to the features of theme components, how these are structured, and how PrimeFaces uses JQuery UI to apply a theme to your application. You will learn to examine and change the CSS rules and get creative by setting standard icons and adding new icons to them. You will use a combination of JavaScript and CSS to enhance your application with help of scheduler component and go on to adapt and package your custom theme so that it is compatible with the Resource Manager.
Finally, you will explore PrimeFaces mobile apps, ensuring themes are compatible with your mobile applications best practices for theme design.
Style and approachThis book is a concise, hands-on guide to developing PrimeFaces themes, working from the ground up with examples in each topic implemented in a web application. You will be encouraged to explore areas of your own interest without the requirement to stick to the letter of the chapter.