Show TOC

Implementing Components with their Controllers and InterfacesLocate this document in the navigation structure

Use

In this section the Web Dynpro controller and interface concept is illustrated in a concrete sample component. Based on some controller-specific declarations the IPrivate - and IPublic -APIs are extended by the Code Generation Framework of the Web Dynpro Tools.

The sample component comprises three controllers:

  • Component controller SampleComp

  • Window controller SampleWin

  • View controller SampleView

Procedure

Programming Tasks

The sample code blocks of the next three sections demonstrate how to solve typical programming tasks by invoking the generated controller interfaces IPublic - and IPrivate in the application code. These interfaces are based on the declarations (like methods, events, controller usages, actions or plugs) done by the application developer.