PacktLib: Oracle ADF Faces Cookbook

Oracle ADF Faces Cookbook


About the Author


About the Reviewers


Building Your ADF Faces Environment From the Ground Up


Preparing and structuring the OS for JDeveloper and ADF

Installing JDK

Exploring different options to install the database

Installing JDeveloper

Tuning JDeveloper

Downloading the book's Git repository

Getting Started with ADF Faces and JDeveloper


Creating an Application Workspace

Connecting your application to a database

Building Business Service

Defining the page flow

Creating a View page

Adding ADF Faces components to JSF pages

Running your first ADF Faces application

Presenting Data Using ADF Faces


Presenting single records on your page

Presenting multiple records using ADF Table

Presenting multiple records using ADF List View

Presenting multiple records using ADF Iterator

Presenting master-details records using ADF Tables and Forms

Presenting master-details records using ADF Tree and tree table components

Presenting master-details records using ADF List with a group header

Internationalizing and localizing your representation

Using Common ADF Faces Components


Using the inputText component

Using the inputNumber components

Using the inputDate component

Using the inputColor component

Using the selection components

Using the richTextEditor component

Using the inputFile component

Using the codeEditor component

Using the ListOfValues components

Using the pop-up dialogs, menus, and windows

Using menus, toolbars, and toolboxes

Using different output components

Using buttons and links for navigation

Using buttons and links to invoke functionalities

Utilizing XML Menu Model with NavigationPane, Breadcrumbs, and MenuBar

Using the train components

Working with dynamicComponent

Beautifying the Application Layout for Great User Experience


Creating a page template for your application

Adding layouts to the header and footer of the page template

Creating an ADF skin for your application

Changing skins at runtime

Using skins like a pro by using Sass and compass

Using mdia queries for a responsive web design

Using flat design techniques

Enriching User Experience with Visualization Components


Showing metrics with graph and gauge components

Putting data on maps

Using pivot tables instead of spreadsheets

Showing tasks on Gantt charts

Presenting the company's hierarchy using the Hierarchy Viewer

Presenting historical data using the Timeline component

Using sunburst to further show the hierarchical compositions

Handling Events and Partial Page Rendering


Using partial triggers

Using ADF Faces server events

Using ADF Faces client events

Sending custom events from a client to a server

Executing JavaScript within an event response

Using the scrollComponentIntoViewBehavior tag

Using the target tag to execute PPR

Using partial page navigation

Adding drag-and-drop capabilities

Using polling events to update pages

Using ADF Faces Active Data Service (ADS)

Using WebSockets for more interactive applications

Validating and Converting Inputs


Adding conversion

Creating a custom converter

Adding client-side capabilities to the converter

Adding validation

Creating a custom JSF validator

Adding client-side capabilities to the validator

Enhancing the Faces messages user experience

Building Your Application for Reuse


Creating task flow template for your repetitive tasks

Handling general exceptions using task flow templates

Using task flow parameters

Adding events to your task flow through contextual events

Creating declarative ADF Faces component

Packaging your ADF Faces resources as an ADF Library

Preserving user preferences using MDS

Scaling your ADF Faces Application


Applying general advices regarding performance

Applying configuration performance recommendations

Applying ADF Faces component's attributes recommendations

Using Content Delivery Network to load your static resources

Using ADF caching to cache and compress static resources