JavaServer Faces - 14 Hour Online Class or 2 Day Classroom
A workshop in using the JavaServer Faces (JSF) specification, tailored for Java web developers with JSP and Java programming experience (and preferably experience with Java Servlets) who want to efficiently create complex web applications. Introduces GUI development and JSF, including Managed Beans, Configuration Files, JSF application structure and running the application; JSF Tag Libraries including the JSF Component Tree, Forms, Tags and Panels; Managed Beans and MVC, including configuring Beans, Scope, Bindings, Dynamic Beans and Advanced Properties; JSF life cycle and event handling; Navigation; the Data Table Component; Validation and Conversion; and custom Components including JSF API Classes and writing, configuring and using the custom Component. A section on internationalization is also included, covering I18N and L10N, resource bundles, specifying the Locale and Dates and Numbers.
Class Description:
Topic Summary
- Getting Started with JSF
- GUI Development
- JavaServer Faces
- A JSF Application
- JSF Components
- Managed Beans
- Configuration Files
- JSF Application Structure
- Running the Application
- JSF Tag Libraries
- The JSF Component Tree
- JSF Tag Libraries
- Forms
- Input Tags
- Output Tags
- Buttons and Links
- Checkboxes
- Radio Buttons, Listboxes, and Menus
- Panels
- Managed Beans
- Managed Beans and MVC
- Properties
- Configuring Beans
- Bean Scope
- Value Bindings
- Method Bindings
- Dynamic Beans - Lists
- Dynamic Beans - Maps
- Advanced Property Initialization
- JSF Lifecycle and Event Handling
- JSF Lifecycle Overview
- Restore View Phase
- Apply Request Values Phase
- Process Validation Phase
- Update Model Values Phase
- Invoke Application Phase
- Render Response Phase
- JSF Events
- Action Events
- Value Change Events
- Immediate Events
- Navigation
- Navigating Through a JSF Application
- Basic Navigation Configuration
- From View Id
- From Action
- Forward vs. Redirect
- Data Table Component
- Data and Tables
- Basic Structure
- Headers and Footers
- Styles
- Adding Editable Components
- DataModel
- Sorting
- Scrolling
- Validators and Converters
- Validation and Conversion within the JSF Lifecycle
- Converting Dates
- Converting Numbers
- Displaying Conversion Errors
- Built-In Validators
- Customizing Error Messages
- Writing Your Own Converter
- Custom Converter Configuration
- Writing Your Own Validator
- Introduction to Custom Components
- Why Custom Components?
- Important JSF API Classes
- Custom Component Building Blocks
- Writing the Custom Component Class
- Encoding
- Using the ResponseWriter
- Decoding
- Writing the Tag Class
- Building the TLD
- Configuring the Custom Component
- Using the Custom Component
- Appendix - Internationalization
- I18N and L10N
- Resource Bundles
- Configuring a Resource Bundle
- Using a Resource Bundle
- Specifying the Locale
- I18N in Custom Code
- Dates and Numbers

