JSF 1.2 Components

Develop advanced Ajax-enabled JSF applications

JSF 1.2 Components

Starting
Ian Hlavats

Develop advanced Ajax-enabled JSF applications
$26.99
$44.99
RRP $26.99
RRP $44.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

+ Collection
Free Sample

Book Details

ISBN 139781847197627
Paperback408 pages

About This Book

  • Develop advanced Ajax-enabled JSF applications and solve common web development challenges using UI components from JSF component libraries
  • Master the basics of building web user interfaces with standard JSF HTML components
  • Implement UI security using JAAS and Apache Tomahawk components
  • Master a wide range of UI components and learn cutting-edge JSF development strategies with plenty of examples and screenshots 

Who This Book Is For

If you are a professional web application developer interested in learning JavaServer Faces having an intermediate to advanced level of Java programming experience and a good understanding of HTML, CSS, and JavaScript, this book is for you.

A working knowledge of Java classes, interfaces, annotations, and generics, Java Collections Framework, JavaBeans API, Java Database Connectivity (JDBC), Java Servlets/JSP, Java Authentication and Authorization Service (JAAS), Java Persistence API (JPA), Enterprise JavaBeans (EJB), the Apache Tomcat web container, the JBoss AS 4.2 application server is assumed. Experienced JSF professionals will also find this book useful as a quick reference and “how to” guide.

Table of Contents

Chapter 1: Standard JSF Components
An introduction to JSF
Next steps
Getting input from the user
Form submission
Rendering text
Making selections
Laying out components
Displaying data
Summary
Chapter 2: Facelets Components
A brief history of Java web development
Comparing Facelets and JSP
Configuring a JSF application to use Facelets
Getting started with Facelets
Rendering debug information
Iterating data in a Facelets page
Removing UI components and markup
Including UI components and markup
Passing parameters from one Facelet to another
Rendering a UI composition
Rendering a UI component
Creating a Facelets UI composition template
Decorating the user interface
Rendering a UI fragment
An advanced Facelets composition template
Summary
Chapter 3: Apache MyFaces Tomahawk Components
Validating user input
Managing date and time selection
File management
Working with trees
Navigation menus
User interface security
Displaying data
Summary
Chapter 4: Apache MyFaces Trinidad Components
Installation and Configuration
What is Ajax?
Receiving input from the user
Client-side conversion and validation
Enabling Ajax functionality
Laying out components on the screen
Shuttling selections between lists
Working with tree and tree table components
Creating navigation menus
Skinning and theme selection
Implementing dialog windows
Summary
Chapter 5: ICEfaces Components
Receiving input from users
Creating navigation and pop-up menus
Using tree components
Displaying data in tables
Rendering charts
Laying out components with panels
Creating a tabbed user interface
Working with modal dialogs
Summary
Chapter 6: JBoss Seam Components
Introducing the JBoss Seam framework
Java Enterprise Edition (Java EE) technology
Next steps
Validating user input with the Seam framework
Implementing JSF validation with Seam
Decorating the UI to improve form validation
Adding cutting-edge Ajax technology with Ajax4jsf
Displaying success messages in JSF
Seam conversation management
Debugging Seam applications
Summary
Chapter 7: JBoss RichFaces and Ajax4jsf Components
Introducing JBoss RichFaces and Ajax4jsf
Accepting user input
Using Ajax effectively
Panel components
Displaying data
Using special components
Summary

What You Will Learn

  • Develop a database-enabled Java EE application using JSF, Enterprise JavaBeans™ (EJB3), the Java Persistence API (JPA), and the JBoss Seam framework
  • Send data from a modal dialog window to a JSF page using the Apache Trinidad dialog framework
  • Render pie charts, bar graphs, and line graphs using the Apache Trinidad and ICEfaces charting components
  • Write custom converters and validators, declare them in faces-config.xml, and register them on other UI components with the standard JSF Core tag library
  • Use standard JavaServer Faces components to implement a number of common web development tasks, such as rendering forms containing simple UI components and accepting and validating input from uses
  • Enhance presentation tier development in a JSF application using the Facelets view definition framework
  • Display a Microsoft Outlook style appointment schedule using the Apache Tomahawk schedule component
  • Implement user interface security with the Java Authentication and Authorization Service (JAAS) and Apache Tomahawk components
  • Add sophisticated Ajax behavior such as visual effects and asynchronous polling to your user interfaces with the ICEfaces component library
  • Discover new and up-and-coming JSF component libraries, and gain a better understanding of the JSF ecosystem and technology road map[/list]

In Detail

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.

Authors

Table of Contents

Chapter 1: Standard JSF Components
An introduction to JSF
Next steps
Getting input from the user
Form submission
Rendering text
Making selections
Laying out components
Displaying data
Summary
Chapter 2: Facelets Components
A brief history of Java web development
Comparing Facelets and JSP
Configuring a JSF application to use Facelets
Getting started with Facelets
Rendering debug information
Iterating data in a Facelets page
Removing UI components and markup
Including UI components and markup
Passing parameters from one Facelet to another
Rendering a UI composition
Rendering a UI component
Creating a Facelets UI composition template
Decorating the user interface
Rendering a UI fragment
An advanced Facelets composition template
Summary
Chapter 3: Apache MyFaces Tomahawk Components
Validating user input
Managing date and time selection
File management
Working with trees
Navigation menus
User interface security
Displaying data
Summary
Chapter 4: Apache MyFaces Trinidad Components
Installation and Configuration
What is Ajax?
Receiving input from the user
Client-side conversion and validation
Enabling Ajax functionality
Laying out components on the screen
Shuttling selections between lists
Working with tree and tree table components
Creating navigation menus
Skinning and theme selection
Implementing dialog windows
Summary
Chapter 5: ICEfaces Components
Receiving input from users
Creating navigation and pop-up menus
Using tree components
Displaying data in tables
Rendering charts
Laying out components with panels
Creating a tabbed user interface
Working with modal dialogs
Summary
Chapter 6: JBoss Seam Components
Introducing the JBoss Seam framework
Java Enterprise Edition (Java EE) technology
Next steps
Validating user input with the Seam framework
Implementing JSF validation with Seam
Decorating the UI to improve form validation
Adding cutting-edge Ajax technology with Ajax4jsf
Displaying success messages in JSF
Seam conversation management
Debugging Seam applications
Summary
Chapter 7: JBoss RichFaces and Ajax4jsf Components
Introducing JBoss RichFaces and Ajax4jsf
Accepting user input
Using Ajax effectively
Panel components
Displaying data
Using special components
Summary

Book Details

ISBN 139781847197627
Paperback408 pages
Read More