GACDataSource
The data used in a UI element like FlashIsland is represented by a GACDataSource among other things. The data can thus be represented with a GACDataSource as well as via GACProperty UI element. For GACDataSource the data must come from a x..n node.
GACDataSource is used to transfer tabular data. There are two important factors:
-
The node involved (property dataSource)
-
The name of the list to fill in the Flash application (property name)
The GACDataSource is bound to a Web Dynpro context. Each GACDataSource has a set of properties that are bound to context attributes of the GACDataSource node or subnode. This has the following advantages:
-
Programming is possible as in Web Dynpro.
-
The automatic transport of data from and to the FlashIsland is ensured.
-
The FlashIsland is independent from the actual context.
For performance reasons you may not want to transfer all attributes/subnodes and their attributes, application developers must explicitly declare the attributes/subnodes and their attributes that they want to send. The attributes to be sent are collected together in the GACProperty aggregation, whilst you declare subnodes using CHILD_DATA_SOURCES aggregation.
A FlashIsland can also have several GACDataSources.
|
Runtime Class |
CL_WD_GAC_DATA_SOURCE |
|
Name |
Type |
Initial Value |
Bindable |
|---|---|---|---|
|
ID |
STRING |
(automatic) |
No |
|
Context node |
Mandatory |
||
|
STRING |
No |
|
Name |
Cardinality |
Type |
|---|---|---|
|
0..n |
||
|
0..n |
Dynamic Programming
For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. Bear in mind the different spellings.
|
View Designer Name |
Runtime Name |
Type |
|---|---|---|
|
DATA_SOURCE |
OBJECT |
|
|
NAME |
STRING |
|
View Designer Name |
Runtime Name |
Cardinality |
|---|---|---|
|
CHILD_DATA_SOURCES |
0..n |
|
|
PROPERTIES |
0..n |