Professional Documents
Culture Documents
Objectives
After completing this lesson, you should be able to do the following: Describe the use of Application Development Framework (ADF) Rich Client components Use Partial Page Rendering (PPR) on a JavaServer Faces (JSF) page Compare different task flow strategies Work with ADF components to enhance a page
8-2
Agenda
Overview of ADF Rich Client Components Partial Page Rendering Task Flow Strategies Enhancing Pages:
Print Page Editable Boolean Check Box Data-Bound Graph Pop-Up Window
8-3
8-4
Layout components
8-5
8-6
Visualizing Data
Some of the data visualization components that are available:
Gauge
Graph
Gantt chart
Pivot table
Geographic map
8-7
Agenda
Overview of ADF Rich Client Components Partial Page Rendering Task Flow Strategies Enhancing Pages:
Print Page Editable Boolean Check Box Data-Bound Graph Pop-Up Window
8-9
8 - 10
PPR: partialSubmit
Enables a command item to execute server code without posting the whole page:
In this case, the link navigates to an edit page for a supplier that is selected in a read-only table.
8 - 11
PPR: autoSubmit
For a value holder (such as inputText or check box), posts the change to the server as soon as it is made (for example, on navigation out or selection elsewhere)
Common uses:
A change to the UI based on a field value Instant validation
8 - 12
PPR: partialTriggers
Add autoSubmit or partialSubmit and a unique ID to the item that initiates the change. Add the partialtrigger attribute to items that watch.
A single component can watch multiple components. Multiple components can watch a single component.
Note: Sometimes the parent container must watch the component itself, for example, menus.
8 - 13
Agenda
Overview of ADF Rich Client Components Partial Page Rendering Task Flow Strategies Enhancing Pages:
Print Page Editable Boolean Check Box Data-Bound Graph Pop-Up Window
8 - 14
8 - 15
This increases the reusability of task flows. You cannot use the browsers Back button for navigation. You may need to use contextual events to coordinate regions.
8 - 16
8 - 17
8 - 18
Agenda
Overview Partial Page Rendering Task Flow Strategies Enhancing Pages:
Print Page Editable Boolean Check Box Data-Bound Graph Pop-Up Window
8 - 19
8 - 20
Agenda
Overview of ADF Rich Client Components Partial Page Rendering Task Flow Strategies Active Data Service Enhancing Pages:
Print Page Editable Boolean Check Box Data-Bound Graph Pop-Up Window
8 - 21
8 - 22
8 - 23
8 - 24
8 - 25
Run-Time Behavior
If the check box is already selected, deselect it, and vice versa. After this, click Commit. Verify that the changed Boolean check box states have been correctly saved as 0 or 1.
8 - 26
Agenda
Overview of ADF Rich Client Components Partial Page Rendering Task Flow Strategies Active Data Service Enhancing Pages:
Print Page Editable Boolean Check Box Data-Bound Graph Pop-Up Window
8 - 27
Typed attributes or name/value pairs Usage, attribute, and label The way to group data for the graph, with attribute and label
4. Preview in the preview tab. 5. Set other properties (such as titles) in Property Palette.
8 - 28
Agenda
Overview of ADF Rich Client Components Partial Page Rendering Task Flow Strategies Active Data Service Enhancing Pages:
Print Page Editable Boolean Check Box Data-Bound Graph Pop-Up Window
8 - 29
Summary
In this lesson, you should have learned how to: Describe the use of ADF Rich Client components Use PPR on a JSF Page Compare different task flow strategies Work with ADF components to enhance a page
8 - 31
8 - 32