Show TOC

 GACDataSourceLocate this document in the navigation structure

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 node involved (property dataSource)
  • The name of the list to fill in the Flash application (Silverlight 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/SilverlightIsland is ensured.
  • The FlashIsland/SilverlightIsland is independent from the actual context.

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.

Caution

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

id

STRING

(automatic)

No

dataSource

Context node

Mandatory

name

STRING

No

Aggregations in the View Designer

Name Cardinality Type

CHILD_DATA_SOURCES

0..n

GACDataSource

PROPERTIES

0..n

GACProperty

Note

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

dataSource

DATA_SOURCE

OBJECT

name

NAME

STRING

Dynamic Programming of Aggregations

View Designer Name Runtime Name Cardinality

CHILD_DATA_SOURCES

CHILD_DATA_SOURCES

0..n

PROPERTIES

PROPERTIES

0..n