Book Image

JSF 1.2 Components

By : IAN HLAVATS
Book Image

JSF 1.2 Components

By: IAN HLAVATS

Overview of this book

Today's web developers need powerful tools to deliver richer, faster, and smoother web experiences. JavaServer Faces includes powerful, feature-rich, Ajax-enabled UI components that provide all the functionality needed to build web applications in a Web 2.0 world. It's the perfect way to build rich, interactive, and "Web 2.0-style" Java web apps. This book provides a comprehensive introduction to the most popular JSF components available today and demonstrate step-by-step how to build increasingly sophisticated JSF user interfaces with standard JSF, Facelets, Apache Tomahawk/Trinidad, ICEfaces, JBoss Seam, JBoss RichFaces/Ajax4jsf, and JSF 2.0 components. JSF 1.2 Components is both an excellent starting point for new JSF developers, and a great reference and “how to” guide for experienced JSF professionals. This book progresses logically from an introduction to standard JSF HTML, and JSF Core components to advanced JSF UI development. As you move through the book, you will learn how to build composite views using Facelets tags, implement common web development tasks using Tomahawk components, and add Ajax capabilities to your JSF user interface with ICEfaces components. You will also learn how to solve the complex web application development challenges with the JBoss Seam framework. At the end of the book, you will be introduced to the new and up-coming JSF component libraries that will provide a road map of the future JSF technologies.
Table of Contents (14 chapters)
JSF 1.2 Components
Credits
Foreword
About the Author
About the Reviewers
Preface

The PrimeFaces component library


While titans such as ICEfaces, Apache MyFaces Trinidad, JBoss RichFaces, and Ajax4jsf have dominated the Ajax-enabled JSF component landscape, another open source project has quietly been building momentum and is set to raise the bar for professional grade Ajax-based JSF component libraries. That project is PrimeFaces (http://primefaces.prime.com.tr), and with more than 70 high quality UI components, this library is definitely worth checking out. Some of the more interesting components in the PrimeFaces library include:

  • An accordion component (renders vertically expanding panels)

  • A breadcrumb component (includes icons and automatically stretches to reveal text)

  • An autocomplete component (supports skinning and animation)

  • A CAPTCHA component (to add security features to JSF pages)

  • A carousel component (supports horizontal scrolling for image collections)

  • A number of chart components (pie, line, column, stacked column, bar, and so on)

  • A collector component (simplifies working with Java collections)

  • A color picker component (RGB, HSV, hexadecimal modes)

  • A data exporter component (supports Excel, PDF, CSV, and XML)

  • A dock component (similar to the dock on the Mac OS X desktop)

  • An effect component (supports multiple effects, for example, blind, clip, drop, fold, and so on)

  • A growl component (renders JSF FacesMessages as floating panels similar to Mac OS X)

  • An idle monitor component (renders a pop-up message if no user activity)

  • A layout component (supports a resizable split pane orientation)

  • A light box component (for image slideshows)

  • A password strength component (measures password strength, displays a bar)

  • A terminal component (renders an interactive console)

  • A wizard component (supports multistep screen navigation)

  • Many more!