
Facelets
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Content
- Intro
- Preface
- Chapter 1: Introducing Facelets: A Better JSF ViewHandler
- 1.1 What Is Facelets?
- 1.2 JavaServer Faces Integration
- 1.2.1 The FaceletViewHandler
- 1.2.2 The FaceletViewHandler in the JSF lifecycle
- 1.2.3 The ViewHandler pluggable interface
- 1.2.4 Decorating the default ViewHandler
- 1.3 How Facelets Works
- 1.3.1 The Facelets API
- 1.3.2 The Facelets API in action
- 1.4 Why Facelets?
- 1.4.1 Reusability
- 1.4.2 JSF Integration
- 1.4.3 JSP/JSF discordance
- Chapter 2: Setting Up the Facelets Development Environment
- 2.1 About the Facelets Development Environment
- 2.2 Development Software
- 2.2.1 Prerequisite software
- 2.2.2 Eclipse IDE
- 2.2.3 MySQL database
- 2.3 Download and Install the Prerequisite Software
- 2.3.1 Download and install JDK version 5
- 2.3.2 Download and install JBoss 4.0.5
- 2.3.3 Download and install Apache MyFaces 1.1.5
- 2.4 Download and Install JBoss IDE
- 2.5 Download and Configure Facelets
- 2.5.1 Download the Facelets distribution
- 2.5.2 Configure a web project
- 2.5.3 Copy the Facelets and JSF libraries to the web project
- 2.5.4. Configure the application web descriptor (web.xml).
- 2.5.5. Set up the JavaServer Faces configuration file (faces-config.xml)
- 2.5.6 Add the JSF and Facelets libraries to the deployment
- 2.6 Download, Install, and Configure Database Software
- 2.6.1 Download MySQL database and GUI tools
- 2.7 Configure JBoss MySQL DataSource
- 2.8 Start Server to Check Deployment
- 2.9 Importing the Example Projects into Eclipse
- 2.9.1 Downloading the Short Cut examples
- 2.9.2 Importing the Short Cut examples
- Chapter 3: Developing JSF Views with Facelets
- 3.1 Building the Good Eats! Home Page with Facelets
- 3.2 The Facelets View File
- 3.3 The Prototype Home Page
- 3.4 Compositions
- 3.5 Facelets Expression Language-the Glue
- 3.6 JSF Backing Bean
- 3.7 Styling Facelets Views with CSS
- Chapter 4: Developing and Using Facelets Templates
- 4.1 What Are Templates?
- 4.1.1 Templating Roles: Template and Template Client
- 4.1.2 Templating Tags
- 4.2 Developing a Templating Strategy
- 4.2.1 Refactoring the GoodEats! home page
- 4.2.2 Create the template
- 4.2.3 Creating the template client
- 4.3 Advanced Templating
- 4.3.1 The ui:decorate tag
- 4.3.2 Using the ui:decorate tag
- Chapter 5: Developing and Using Facelets Component Tags
- 5.1 The Facelets Component Tags
- 5.1.1 The component tags: ui:component and ui:fragment
- 5.2 Using the Component Tags
- 5.2.1 Using the ui:component tag
- 5.2.2 Using the ui:fragment tag
- 5.3 Right Sidebar Component
- Chapter 6: Developing and Using Composition Components
- 6.1 What Are Composition Components?
- 6.2 Creating a Composition Component
- 6.2.1 Create the component
- 6.2.2 Create the Facelets taglib
- 6.2.3 Declare the taglib in the web.xml file
- 6.2.4 Declare the XML namespace and use the custom tag
- 6.3 Example: A List Layout Composition Component
- 6.3.1 Step 1: Build the composition component and backing bean
- 6.3.2 Step 2: Develop the Facelets custom taglib
- 6.3.3 Step 3: Declare the taglib in the web.xml file
- 6.3.4 Step 4: Declare the XML namespace and use the custom tag
- Chapter 7: Extending and Customizing Facelets
- 7.1 Extensibility: JSF and Facelets
- 7.2 Extending Facelets with Custom Tags
- 7.2.1 What is a custom tag?
- 7.2.2 The Facelets taglib
- 7.2.3 Developing a custom tag
- 7.3 Custom Tag Example: Joda DateTime Converter
- 7.3.1 Develop the Converter class
- 7.3.2 Add the Converter tag to the tag library
- 7.3.3 Register the Converter with JSF
- 7.3.4 Using the Joda DateTime Converter
- 7.4 Extending Facelets with Custom TagHandlers
- 7.4.1 What is a TagHandler?
- 7.4.2 Developing a custom TagHandler
- 7.5 Custom TagHandler Example: The execute TagHandler
- 7.5.1 The handler-class
- 7.6 Extending Facelets with EL Functions
- 7.6.1 What is an EL function?
- 7.6.2 Developing an EL function
- 7.7 EL function example: formatName function
- Chapter 8: Enriching the User Interface Experience with AJAX
- 8.1 Facelets and JavaScript
- 8.1.1 Enclose JavaScript in CDATA
- 8.1.2 Import JavaScript from an external file
- 8.1.3 JavaScript in attributes values
- 8.1.3 JavaScript attributes bound to a bean method
- 8.2 Facelets, JSF, and AJAX
- 8.2.1 What is AJAX?
- 8.2.2 JSF/Ajax integration issues
- 8.2.3 The panoply of AJAX frameworks
- 8.2.4 AJAX for the JavaScript avoidant
- 8.3 Example: Ajax-Enabled Selection Boxes
- 8.3.1 ajax4jsf configuration
- 8.3.2 Developing interrelated selection boxes with AJAX
- 8.3.3 Developing a suggest selection box with AJAX
- Chapter 9: The Good Eats! Web Site
- 9.1 What Is the Good Eats! Web Site?
- 9.2 Requirements
- 9.2.2 Technical requirements
- 9.3 Web Site Construction
- 9.3.1 User interface: Facelets
- 9.3.2 Domain layer: Enterprise JavaBeans
- Stateless session beans
- Entity beans
- 9.3.3 Database: MySQL
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.