Show TOC Start of Content Area

Background documentation Component Controller  Locate the document in its SAP Library structure

 

The component controller is the master controller for a Web Dynpro Component. As soon as you declare the existence of a Web Dynpro Component, the component controller is automatically created. You cannot have a Web Dynpro Component without a component controller.

This controller can be thought of as being hierarchically superior to all other controllers in the component. Consequently, the lifespan of the component is always equal to the lifespan of the component controller.

When the Web Dynpro Runtime receives the URL of a Web Dynpro Application, the component controller of the root component is instantiated. Here is an example of where the Web Dynpro Runtime automatically interacts with coding written by the Web Dynpro developer.

Since the component controller has no visual interface, it is incapable of directly presenting any information to the user. This task however, is of no concern to the component controller. The component controller should contain only the coding necessary to control the interaction of all the other controllers and child component instances within the component. You should regard the component controller as the central point of control for the behavior of the Web Dynpro Component.

 

End of Content Area