JSF Web Development
Course Fee: £900.00
Prerequisites
Candidates must have knowledge of Object Oriented principles and Java programming.
Course Objectives
At the end of the course candidates will be able to
- Understand the lifecycle phases of a JSF application request and response, and effectively use different events within a JSF application
- Create and maintain JSF component classes and tags within Facelets in response pages
- Understand and use the JSF Expression Language(EL)
- Develop and maintain JSF managed beans
- Manage navigation with Action methods and Listeners
- Create a customized JSF GUI component
- Create Facelets templates to implement a common look-and-feel for JSF applications
- Identify and implement composition components for reusable display elements
Course Outline
Introduction to JavaServer Pages and JavaServer Faces
- Model View Controller
- JSF elements - web.xml and faces-config.xml
- The power of Facelets
- JSF 2.0 - Features
GUI Components 1
- Component Families
- UIViewRoot and the FacesContext
- The JSF lifecycle and GET vs. POST(JSF 2.0)
- Facelets pages
- Output components - text and labels
- Forms
- Formatting output
- Inputting text and passwords
- Messages and severity
Navigation in JSF applications
- Navigation rules and cases via annotations
- Static vs. dynamic actions
- Declaring navigation in faces-config.xml
- JSF Expression Language
Managed Beans
- The uses of backing beans
- Declaring managed beans and properties via annotations
- Lists and Maps properties in Managed Beans
- Using the FacesContext
- Action methods in backing beans
- Connecting to back-end services
Conversion and Validation
- Conversion and Validation in the JSF Lifecycle
- Implicit and explicit conversion
- Date/Time conversion
- Number conversion
- Standard input validators
- Implementing validation in backing beans
- Displaying conversion/validation error messages
- Custom converters and validators
- Client-side validation
JSF Events
- The phases of JSF
- GET vs. POST
- Page actions (JSF 2.0)
- Action Events
- Value Change Events
- Phase Events
- Data Model Events
More GUI Components
- Selecting items from lists
- Checkboxes and radio buttons
- Command Buttons and Command links
- Panel Group and Panel Grid
- Data Tables
- Display Data from remote Database
- Writing Custom Components
- The makeup of a Custom Component
- Using the component in a JSP
- Using attributes with a custom tag
- Custom components that provide input
Page composition using Facelets
- Templating
- Passing parameters to pages
- Facelets and JSTL
- Facelets composition components
- Using other tag libraries
|
|
|