RichFaces 4 Programming

Course:  RICHFC
Duration:  2 Days
Level:  II
Course Summary

This course teaches developers how to use the RichFaces AJAX-enabled component library for JavaServer Faces. It will help you develop next-generation web applications based on JSF 2/Ajax. Examples are in Maven so that any IDE can be used. The course will teach how to best take advantage of RichFaces?the integration of the Ajax4jsf and RichFaces libraries?to create flexible and powerful programs. Assuming some JSF background, it shows how you can radically reduce programming time and effort to create rich AJAX-based applications.

« Hide The Details
Topics Covered In This Course

Introduction to RichFaces

  • Definition
  • Features
  • JSF relationship
  • Libraries and Dependencies
  • Configuring a Web Application
  • The first sample

Introduction to AJAX

  • What is AJAX?
  • Traditional Web Processing
  • AJAX Processing
  • AJAX Applications
  • Introduction to JavaScript
  • Defining JavaScript
  • JavaScript Object Syntax
  • JavaScript Functions
  • JavaScript Variables
  • JavaScript Events
  • Introduction to the HTML DOM
  • The DOM Tree
  • Accessing Nodes
  • Finding HTML Elements by ID
  • The XMLHttpRequest Object
  • Retrieving an XMLHttpRequest Reference
  • Sending a Request with an Asynchronous Response
  • Using a Servlet to Respond
  • Updating the Document
  • Complete Example
  • Complete Example Listing

RichFaces and Ajax

  • Ajax4jsf Tags
  • Introduction to Partial Page Rendering
  • Ajax Requests without Form Submission
  • Using the a4j:support Tag
  • Partial Rendering and Validation
  • Introduction to Regions
  • Defining a Region
  • The ajaxSingle Attribute
  • Using the a4j:Log Tag
  • Using a JSF Phase Listener

More RichFaces Ajax Concepts

  • Partial Page Rendering
  • Factors that Affect Rendering
  • The reRender Attribute
  • The a4j:outputPanel Tag
  • The limitToList Attribute
  • Regions and Partial Rendering
  • Nested Regions
  • The process Attribute
  • The a4j:poll Tag
  • Live Validation
  • Optimizing Server Processing During Validation
  • Hooking Into the JavaScript
  • The a4j:Status Tag

RichFaces Component Library Overview

  • RichFaces Component Libraries
  • Categories of rich:xxxx Components

RichFaces Output Components

  • The rich:separator Component
  • The rich:panel Component
  • The rich:panelBar Component
  • The rich:simpleTogglePanel Component
  • Toggle Control Switch Types
  • The rich:tabPanel Component
  • The rich:modalPanel Component
  • The rich:toolBar Component
  • The rich:panelMenu Component
  • The rich:progressBar Component

RichFaces Input Components

  • The rich:suggestionbox Component
  • The rich:comboBox Component
  • The rich:inputNumberSpinner Component
  • The rich:inputNumberSlider Component
  • The rich:calendar Component
  • The rich:colorPicker Component
  • The rich:editor Component
  • The rich:fileUpload Component

RichFaces Selection and Menu Components

  • RichFaces Selection Components
  • The rich:pickList Component
  • The rich:orderingList Component
  • The rich:listShuttle Component
  • RichFaces Menu Components
  • The rich:dropDownMenu Component
  • The rich:contextMenu Component

RichFaces Iteration Components

  • The rich:dataList Component
  • The rich:dataOrderedList Component
  • The rich:definitionList Component
  • The rich:dataTable Component
  • The rich:dataGrid Component
  • The rich:dataScroller Component
  • Partial Updates

RichFaces Skinning

  • What is a Skin?
  • Predefined Skins
  • Specifying a Skin
  • Skin Property Files
  • Changing Skins Dynamically
  • Non-RichFaces Components and Skins
  • Writing a Custom Skin

RichFaces Performance and Best Practices

  • RichFaces Performance is Complex Issue
  • General RichFaces Good Practices
  • Ajax Re-Rendering and Partial Updates
  • RichFaces Regions and ajaxSingle
  • Using Firefox and Firebug
  • Continuous Ajax Requests
  • Defining a Traffic Queue
  • Delaying Transmission
  • Ignoring Duplicate Reponses
  • Reducing the Size of Ajax Responses
  • Reducing Response Size Techniques
  • Configuring RichFaces to Pack Responses
  • Configuring Facelets
  • RichFaces Filter Configuration
  • Complete Performance Example
What You Can Expect

At the end of this course, students will be able to:

  • How to build rich Internet applications with RichFaces components
  • Best strategies for implementing Ajax applications using RichFaces
  • When best to use the two libraries
  • How to create new skins for your app in no time
  • How to create applications without needing to write any JavaScript code
Who Should Take This Course

Developers who will write JEE applications using RichFaces.

Recommended Prerequisites

Java programming skills and JSF experience are mandatory.

Training Style

Instructor led with 50% lecture and 50% lab.

« Hide The Details
Related Courses
Code Course Title Duration Level
JavaServer Faces (JSF) Programming
3 Days

Every student attending a Verhoef Training class will receive a certificate good for $100 toward their next public class taken within a year.

You can also buy "Verhoef Vouchers" to get a discounted rate for a single student in any of our public or web-based classes. Contact your account manager or our sales office for details.

Schedule For This Course
There are currently no public sessions scheduled for this course. We can schedule a private class for your organization just a couple of weeks from now. Or we can let you know the next time we do schedule a public session.
Notify me the next time this course is confirmed!
Can't find the course you want?
Call us at 800.533.3893, or
email us at [email protected]