Show TOC

 GACEventLocate this document in the navigation structure

You can define your own events for your FlashIsland / SilverlightIsland .

The GACEvent enables you to respond in Web Dynpro to events that occur in FlashIsland/SilverlightIsland. FlashIsland/SilverlightIsland can pass parameters to the events. There are two important issues with GACEvent:

  • What is the name of the event that can occur in FlashIsland/SilverlightIsland (property name)?
  • What is the name of the Web Dynpro action that is to be executed (event onAction)?

The event parameters are aggregated in the GACEvent (aggregation GACEVENTPARAMETER). Two issues are important with these GACEvent Parameters :

  • The name of the parameter in FlashIsland/SilverlightIsland (property name)
  • The type of the parameter (property type)

A FlashIsland/SilverlightIsland can have multiple GACEvents, which in turn can have multiple GACEventParameters.

Caution

The integration of GAC* controls in Web Dynpro ABAP dialog boxes (popups) is not supported.

Runtime Class

CL_WD_GAC_EVENT

Properties in the View Designer

Name Type Initial Value Bindable

id

STRING

(automatic)

No

name

STRING

No

Aggregations in the View Designer

Name Cardinality Type

EVENT_PARAMETERS

0..n

GACEventParameter

Events in the View Designer

Name

onAction

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

name

NAME

STRING

Dynamic Programming of Events

View Designer Name Runtime Name

onAction

ON_ACTION

Dynamic Programming of Aggregations

View Designer Name Runtime Name Cardinality

EVENT_PARAMETERS

EVENT_PARAMETERS

0..n