Book Description
Create, package, and customize stunning themes using PrimeFaces About This Book Build PrimeFaces themes that meet the industry standards Customize your themes for mobile web applications with PrimeFaces Mobile A precise, example-oriented guide to help you create interesting themes using the PrimeFaces tools Who This Book Is For If 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 Learn Use Maven to create JSF Projects Create a custom theme using JQuery UI tools Package your theme for distribution and use your PrimeFaces-based web applications as drop in libraries Develop additional dynamic look and feel elements that themes do not already supply Apply look and feel elements dynamically to views without causing page refreshes Reduce code repetition by applying page templates to your JSF project In Detail Developing 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 approach This 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.