
The data used in a UI element such as FlashIsland or SilverlightIsland 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 an x..n node.
GACDataSource is used to transfer tabular data. There are two important factors:
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:
Since, you may not want to transfer all attributes/subnodes and their attributes for performance reasons, application developers must explicitly declare the attributes/subnodes and their attributes that they want to send to FlashIsland/SilverlightIsland. The attributes to be sent are collected together in the GACProperty aggregation, whilst you declare subnodes using CHILD_DATA_SOURCES aggregation.
A FlashIsland/SilverlightIsland can also have several GACDataSources.
The integration of GAC* controls in Web Dynpro ABAP dialog boxes (popups) is not supported.
|
Runtime Class |
CL_WD_GAC_DATA_SOURCE |
Properties in the View Designer
| Name | Type | Initial Value | Bindable |
|---|---|---|---|
|
STRING |
(automatic) |
No |
|
|
Context node |
Mandatory |
||
|
STRING |
No |
Aggregations in the View Designer
| Name | Cardinality | Type |
|---|---|---|
|
0..n |
||
|
0..n |
Other properties that can be inherited are defined in the associated higher-level classes. The associated UI elements are: ViewElement
Dynamic Programming
For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. Bear in mind the different spellings.
Dynamic Programming of Properties
| View Designer Name | Runtime Name | Type |
|---|---|---|
|
DATA_SOURCE |
OBJECT |
|
|
NAME |
STRING |
Dynamic Programming of Aggregations
| View Designer Name | Runtime Name | Cardinality |
|---|---|---|
|
CHILD_DATA_SOURCES |
0..n |
|
|
PROPERTIES |
0..n |