Working with ADF Desktop Integration Form-Type Components 6-11
To create an EL expression to display calculated data 1.
Open the integrated Excel workbook.
2.
Select the ADF Input Text or ADF Output Text component to display calculated data.
3.
Open the property inspector and click the ellipses button ... of the Value property.
4.
Write an EL expression that gets the output from two, or more, expressions. Example 6–1
shows an EL expression that calculates the difference between the values of List Price and Cost Price columns of an item, and then divides it with
value of Cost Price column to generate a margin.
Example 6–1 An EL Expression for Calculated Data
={row.bindings.ListPrice.inputValue}-{row.bindings.CostPrice.inputValue} {row.bindings.CostPrice.inputValue}
5. Click OK.
For more information about EL expressions, see Appendix B, ADF Desktop
Integration EL Expressions.
6.9 Using Navigation Buttons
You can create navigation buttons Next, Previous, First, and Last to navigate from one record to another as shown in
Figure 6–9 . If the end user changes a record’s data
before navigating to another record, you can choose to save those changes or ignore them.
Figure 6–9 Navigation Buttons in an Integrated Excel Workbook
To save changes before navigating to another record, define the action sets of the button in the following order:
1.
Worksheet.UpSync
2.
Commit
3.
Navigation action for example, Next
Note: If the Value property of an ADF Input Text component
contains a formula, the ADF Input Text component becomes read-only at runtime regardless of the value of the ReadOnly property.
6-12 Desktop Integration Developers Guide for Oracle Application Development Framework
4.
Worksheet.DownSync
To ignore changes before navigating to another record, define the action sets of the button in the following order:
1.
Navigation action for example, Next
2.
Worksheet.DownSync
Note: If you omit the Commit action from the action set, any
pending changes to multiple records are lost when the end users web application session ends.
Note: If you define button actions to ignore changes, then it is the
end user’s responsibility to save changes before navigating to another record.
7
Working with ADF Desktop Integration Table-Type Components 7-1
7
Working with ADF Desktop Integration Table-Type Components
This chapter describes how you work with the table-type components that ADF Desktop Integration provides.
This chapter includes the following sections:
■
Section 7.1, Introduction to ADF Desktop Integration Table-Type Components
■
Section 7.2, Page Definition Requirements for an ADF Table Component
■
Section 7.3, Inserting an ADF Table Component into an Excel Worksheet
■
Section 7.4, Configuring an ADF Table Component to Update Existing Data
■
Section 7.5, Configuring an ADF Table Component to Insert Data
■
Section 7.6, Configuring Oracle ADF Component to Download Data to an ADF Table Component
■
Section 7.7, Configuring a Worksheet to Download Pre-Insert Data to an ADF Table Component
■
Section 7.8, Configuring an Oracle ADF Component to Upload Changes from an ADF Table Component
■
Section 7.9, Configuring an ADF Table Component to Delete Rows in the Fusion Web Application
■
Section 7.10, Batch Processing in an ADF Table Component
■
Section 7.11, Special Columns in the ADF Table Component
■
Section 7.12, Configuring ADF Table Component Key Column
■
Section 7.13, Creating a List of Values in an ADF Table Component Column
■
Section 7.14, Adding a ModelDrivenColumnComponent Subcomponent to Your ADF Table Component
■
Section 7.15, Adding a Dynamic Column to Your ADF Table Component
■
Section 7.16, Creating an ADF Read-Only Table Component
■
Section 7.17, Limiting the Number of Rows Your Table-Type Component Downloads
■
Section 7.18, Clearing the Values of Cached Attributes in an ADF Table Component
■
Section 7.19, Tracking Changes in an ADF Table Component
7-2 Desktop Integration Developers Guide for Oracle Application Development Framework
7.1 Introduction to ADF Desktop Integration Table-Type Components