Home Page Icon
Home Page
Table of Contents for
JBoss RichFaces 3.3
Close
JBoss RichFaces 3.3
by Demetrio Filocamo
JBoss RichFaces 3.3
JBoss RichFaces 3.3
JBoss RichFaces 3.3
Credits
About the Author
About the Reviewer
Preface
What this book covers
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. What is RichFaces?
An overview of RichFaces
A bit of history
The Ajax framework
Ajax Action Components
Ajax Containers
Ajax placeholders
Ajax validators
RichFaces components overview
RichFaces skinnability overview
Summary
2. Getting Ready
Creating a RichFaces JSF project the simple way
Seam-gen
Download and install seam-gen
Generating a project using seam-gen
Update RichFaces libraries in a seam-gen generated project
Overview of the project structure
Incremental hot deployment
Seam and Facelets support
Adding RichFaces manually to your existing JSF project
Downloading RichFaces
Basic configuration
Where to put the libraries
Registering RichFaces
Facelets support
IDEs
Eclipse/JBoss Tools
Where to download and how to install it
JBoss Developer Studio
Importing a seam-gen generated project into Eclipse
IntelliJ Idea
Where to download and how to install it
Summary
3. First Steps
A simple contact manager
Creating the new project
Templating and Facelets
Modifying the created project
The model
The managed bean
Making it a managed bean
The "Insert new contact" form
The main box
The form fields
Using RichFaces message and messages components instead of the standard ones
Validating our field in a simple way
Adding Ajax to standard JSF components: a4j:support
Calendar field
Simple layout components: rich:separator and rich:spacer
Ajax command buttons: a4j:commandButton
Ajax command links: a4j:commandLink
The contact list
Re-rendering the contact list after adding a new contact
Adding the delete button
Summary
4. The Application
What we are going to develop?
Features
Groups manager
File uploads and notes
Simple search
User skin
Multilanguage
The database: E-R diagram
Importing the database
Creating the project
The class diagram
Some modification to the entities
Editing the template page
The menu page
The login page
The home page
Summary
5. Making the Application Structure
Skinnability and dynamic skin change
Selecting the application skin
User-selected application skin
Passing application parameters using components.xml
Making skin selection user-dependent
Standard controls skinning
XCSS and Plug-n-Skin
Adding built-in plug'n'skin skins
Some examples
Internationalization
Configuration
Internationalize strings
User-selected language
Persist the selected locale using a cookie
Menu bar using rich:toolBar component
Making the login work
User registration
Creating the page structure
Creating the support bean
Creating the form fields and action buttons
Adding the validation rules
Adding the sign up link to the menu bar
Validating the password against another "Rewrite password" field
Making your own validators
Using a captcha
Resetting the captcha
Automatic login after registration
Sending the confirmation emails
Screenshot
Reset password box
Forgot username box
URL rewriting: making it simple and powerful
Summary
6. Making the Contacts List and Detail
The main layout
Ajax placeholders
The groups box
The contacts list
Differences between h:dataTable and rich:dataTable
Data pagination
Adding the column headers
Columns and column groups
Out-of-the-box filtering and sorting
The bottom toolbar
The backing bean
The contact detail
The support bean
Selecting the contact from the contacts list
Adding a new contact
Viewing contact detail
Editing contact detail
The button toolbar
The ajaxSingle and the process attributes
More Ajax!
Ajax containers
Data iteration using RichFaces
Data pagination with data iteration components
Addresses management
Some screenshots
Summary
7. Finishing the Application
Taking a note of every contact
A richer editor
Let's group our contacts
Listing, adding, and removing groups
Other features of the rich:toolTip component
Adding and editing groups
The adding/editing form
Adding contacts to a group using the drag 'n' drop
Removing contacts from a group using drag'n'drop
Attaching files
Creating the wizard
The file review step
Creating the modal panel
Control components without JavaScript
Inserting the wizard inside the modal panel
Finishing the file upload feature
Summary
8. Skin Customization
Skinnability
Customize skin parameters
Edit a basic skin
Using CSS
Redefine the skin-inserted CSS classes
Specify our specific CSS classes
Using skins with non-skinnable components
Standard controls skinning
XCSS
Summary
9. Creating a New plug 'n' skin
Installing Maven
Creating the new skin
Customizing the new skin
Packaging and deploying the new skin
Summary
10. Advanced Techniques
Poll
Creating images dynamically
Push
Creating a RichFaces JavaScript function
Partial update of data iteration components
RichFaces component binding in JBoss Seam / JBoss Application Server environment
Moving all the libraries to the EAR
A simple binding example
The tree component
State saving
Action listeners
Controlling the session expiration
Summary
11. Component Development Kit
Configuring the environment
Installing Maven
Configuring
Creating the project
Generating the template
Testing the template
Creating the component
Component configuration
Component resources
Component renderer
Testing the new component
Summary
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Cover
Next
Next Chapter
JBoss RichFaces 3.3
JBoss RichFaces 3.3
Demetrio Filocamo
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset